Package org.spockframework.mock
Interface IMockInteraction
-
- All Known Implementing Classes:
MockInteraction,MockInteractionDecorator
public interface IMockInteractionAn 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.Objectaccept(IMockInvocation invocation)intcomputeSimilarityScore(IMockInvocation invocation)java.util.List<IMockInvocation>getAcceptedInvocations()intgetColumn()intgetLine()java.lang.StringgetText()booleanisExhausted()booleanisRequired()booleanisSatisfied()booleanmatches(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()
-
-