IMockInteractionpublic class MockInteraction extends java.lang.Object implements IMockInteraction
| Constructor | Description |
|---|---|
MockInteraction(int line,
int column,
java.lang.String text,
int minCount,
int maxCount,
java.util.List<IInvocationConstraint> constraints,
IResponseGenerator responseGenerator) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
accept(IMockInvocation invocation) |
|
int |
computeSimilarityScore(IMockInvocation invocation) |
|
java.util.List<IMockInvocation> |
getAcceptedInvocations() |
|
int |
getColumn() |
|
int |
getLine() |
|
java.lang.String |
getText() |
|
boolean |
isExhausted() |
|
boolean |
isRequired() |
|
boolean |
isSatisfied() |
|
boolean |
matches(IMockInvocation invocation) |
|
java.lang.String |
toString() |
public MockInteraction(int line,
int column,
java.lang.String text,
int minCount,
int maxCount,
java.util.List<IInvocationConstraint> constraints,
IResponseGenerator responseGenerator)
public boolean matches(IMockInvocation invocation)
matches in interface IMockInteractionpublic java.lang.Object accept(IMockInvocation invocation)
accept in interface IMockInteractionpublic java.util.List<IMockInvocation> getAcceptedInvocations()
getAcceptedInvocations in interface IMockInteractionpublic int computeSimilarityScore(IMockInvocation invocation)
computeSimilarityScore in interface IMockInteractionpublic boolean isSatisfied()
isSatisfied in interface IMockInteractionpublic boolean isExhausted()
isExhausted in interface IMockInteractionpublic boolean isRequired()
isRequired in interface IMockInteractionpublic int getLine()
getLine in interface IMockInteractionpublic int getColumn()
getColumn in interface IMockInteractionpublic java.lang.String getText()
getText in interface IMockInteractionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2018. All rights reserved