Package org.spockframework.mock
Interface IMockInteraction
-
- All Known Implementing Classes:
MockInteraction
,MockInteractionDecorator
public interface IMockInteraction
An anticipated interaction between the SUT and one or more mock objects.- Author:
- Peter Niederwieser
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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)
-
-
-
Method Detail
-
getLine
int getLine()
-
getColumn
int getColumn()
-
getText
java.lang.String getText()
-
matches
boolean matches(IMockInvocation invocation)
-
accept
java.lang.Object accept(IMockInvocation invocation)
-
getAcceptedInvocations
java.util.List<IMockInvocation> getAcceptedInvocations()
-
computeSimilarityScore
int computeSimilarityScore(IMockInvocation invocation)
-
isSatisfied
boolean isSatisfied()
-
isExhausted
boolean isExhausted()
-
isRequired
boolean isRequired()
-
-