public class MockInteraction extends java.lang.Object implements IMockInteraction
Constructor and 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 and 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 IMockInteraction
public java.lang.Object accept(IMockInvocation invocation)
accept
in interface IMockInteraction
public java.util.List<IMockInvocation> getAcceptedInvocations()
getAcceptedInvocations
in interface IMockInteraction
public int computeSimilarityScore(IMockInvocation invocation)
computeSimilarityScore
in interface IMockInteraction
public boolean isSatisfied()
isSatisfied
in interface IMockInteraction
public boolean isExhausted()
isExhausted
in interface IMockInteraction
public boolean isRequired()
isRequired
in interface IMockInteraction
public int getLine()
getLine
in interface IMockInteraction
public int getColumn()
getColumn
in interface IMockInteraction
public java.lang.String getText()
getText
in interface IMockInteraction
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2015. All rights reserved