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) int
computeSimilarityScore
(IMockInvocation invocation) int
int
getLine()
getText()
boolean
boolean
boolean
boolean
matches
(IMockInvocation invocation) toString()
-
Field Details
-
decorated
-
-
Constructor Details
-
MockInteractionDecorator
-
-
Method Details
-
getLine
public int getLine()- Specified by:
getLine
in interfaceIMockInteraction
-
getColumn
public int getColumn()- Specified by:
getColumn
in interfaceIMockInteraction
-
getText
- Specified by:
getText
in interfaceIMockInteraction
-
matches
- Specified by:
matches
in interfaceIMockInteraction
-
accept
- Specified by:
accept
in interfaceIMockInteraction
-
getAcceptedInvocations
- Specified by:
getAcceptedInvocations
in interfaceIMockInteraction
-
computeSimilarityScore
- Specified by:
computeSimilarityScore
in interfaceIMockInteraction
-
isSatisfied
public boolean isSatisfied()- Specified by:
isSatisfied
in interfaceIMockInteraction
-
isExhausted
public boolean isExhausted()- Specified by:
isExhausted
in interfaceIMockInteraction
-
isRequired
public boolean isRequired()- Specified by:
isRequired
in interfaceIMockInteraction
-
toString
-