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
Modifier and TypeMethodDescriptionaccept
(IMockInvocation invocation) int
computeSimilarityScore
(IMockInvocation invocation) int
int
getLine()
getText()
boolean
boolean
boolean
boolean
matches
(IMockInvocation invocation)
-
Method Details
-
getLine
int getLine() -
getColumn
int getColumn() -
getText
String getText() -
matches
-
accept
-
getAcceptedInvocations
List<IMockInvocation> getAcceptedInvocations() -
computeSimilarityScore
-
isSatisfied
boolean isSatisfied() -
isExhausted
boolean isExhausted() -
isRequired
boolean isRequired()
-