Package org.spockframework.mock.runtime
Class MockInteractionDecorator
java.lang.Object
org.spockframework.mock.runtime.MockInteractionDecorator
- All Implemented Interfaces:
IMockInteraction
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccept(IMockInvocation invocation) intcomputeSimilarityScore(IMockInvocation invocation) intintgetLine()getText()booleanbooleanbooleanbooleanmatches(IMockInvocation invocation) toString()
-
Field Details
-
decorated
-
-
Constructor Details
-
MockInteractionDecorator
-
-
Method Details
-
getLine
public int getLine()- Specified by:
getLinein interfaceIMockInteraction
-
getColumn
public int getColumn()- Specified by:
getColumnin interfaceIMockInteraction
-
getText
- Specified by:
getTextin interfaceIMockInteraction
-
matches
- Specified by:
matchesin interfaceIMockInteraction
-
accept
- Specified by:
acceptin interfaceIMockInteraction
-
getAcceptedInvocations
- Specified by:
getAcceptedInvocationsin interfaceIMockInteraction
-
computeSimilarityScore
- Specified by:
computeSimilarityScorein interfaceIMockInteraction
-
isSatisfied
public boolean isSatisfied()- Specified by:
isSatisfiedin interfaceIMockInteraction
-
isExhausted
public boolean isExhausted()- Specified by:
isExhaustedin interfaceIMockInteraction
-
isRequired
public boolean isRequired()- Specified by:
isRequiredin interfaceIMockInteraction
-
toString
-