Uses of Interface
org.spockframework.mock.IMockInvocation
-
Packages that use IMockInvocation Package Description org.spockframework.mock Spock's built-in mocking framework.org.spockframework.mock.constraint org.spockframework.mock.response org.spockframework.mock.runtime -
-
Uses of IMockInvocation in org.spockframework.mock
Methods in org.spockframework.mock that return IMockInvocation Modifier and Type Method Description IMockInvocation
WrongInvocationOrderError. getLastInvocation()
Methods in org.spockframework.mock that return types with arguments of type IMockInvocation Modifier and Type Method Description java.util.List<IMockInvocation>
IMockInteraction. getAcceptedInvocations()
java.util.List<IMockInvocation>
TooManyInvocationsError. getAcceptedInvocations()
Methods in org.spockframework.mock with parameters of type IMockInvocation Modifier and Type Method Description java.lang.Object
IMockInteraction. accept(IMockInvocation invocation)
void
DefaultEqualsHashCodeToStringInteractions. addUnmatchedInvocation(IMockInvocation invocation)
void
IInteractionScope. addUnmatchedInvocation(IMockInvocation invocation)
int
IMockInteraction. computeSimilarityScore(IMockInvocation invocation)
java.lang.Object
IMockController. handle(IMockInvocation invocation)
boolean
IInvocationConstraint. isSatisfiedBy(IMockInvocation invocation)
IMockInteraction
DefaultEqualsHashCodeToStringInteractions. match(IMockInvocation invocation)
IMockInteraction
IInteractionScope. match(IMockInvocation invocation)
boolean
IMockInteraction. matches(IMockInvocation invocation)
java.lang.Object
CallRealMethodResponse. respond(IMockInvocation invocation)
java.lang.Object
EmptyOrDummyResponse. respond(IMockInvocation invocation)
java.lang.Object
IResponseGenerator. respond(IMockInvocation invocation)
java.lang.Object
ZeroOrNullResponse. respond(IMockInvocation invocation)
Constructors in org.spockframework.mock with parameters of type IMockInvocation Constructor Description WrongInvocationOrderError(IMockInteraction interaction, IMockInvocation lastInvocation)
Constructor parameters in org.spockframework.mock with type arguments of type IMockInvocation Constructor Description TooManyInvocationsError(IMockInteraction interaction, java.util.List<IMockInvocation> acceptedInvocations)
-
Uses of IMockInvocation in org.spockframework.mock.constraint
Methods in org.spockframework.mock.constraint with parameters of type IMockInvocation Modifier and Type Method Description boolean
EqualMethodNameConstraint. isSatisfiedBy(IMockInvocation invocation)
boolean
EqualPropertyNameConstraint. isSatisfiedBy(IMockInvocation invocation)
boolean
NamedArgumentListConstraint. isSatisfiedBy(IMockInvocation invocation)
boolean
PositionalArgumentListConstraint. isSatisfiedBy(IMockInvocation invocation)
boolean
RegexMethodNameConstraint. isSatisfiedBy(IMockInvocation invocation)
boolean
RegexPropertyNameConstraint. isSatisfiedBy(IMockInvocation invocation)
boolean
TargetConstraint. isSatisfiedBy(IMockInvocation invocation)
boolean
WildcardMethodNameConstraint. isSatisfiedBy(IMockInvocation invocation)
-
Uses of IMockInvocation in org.spockframework.mock.response
Methods in org.spockframework.mock.response with parameters of type IMockInvocation Modifier and Type Method Description java.lang.Object
CodeResponseGenerator. doRespond(IMockInvocation invocation)
java.lang.Object
ConstantResponseGenerator. doRespond(IMockInvocation invocation)
abstract java.lang.Object
SingleResponseGenerator. doRespond(IMockInvocation invocation)
java.lang.Object
WildcardResponseGenerator. doRespond(IMockInvocation invocation)
java.lang.Object
DefaultResponseGenerator. respond(IMockInvocation invocation)
java.lang.Object
IterableResponseGenerator. respond(IMockInvocation invocation)
java.lang.Object
ResponseGeneratorChain. respond(IMockInvocation invocation)
java.lang.Object
SingleResponseGenerator. respond(IMockInvocation invocation)
-
Uses of IMockInvocation in org.spockframework.mock.runtime
Classes in org.spockframework.mock.runtime that implement IMockInvocation Modifier and Type Class Description class
DelegatingMockInvocation
class
MockInvocation
Methods in org.spockframework.mock.runtime that return types with arguments of type IMockInvocation Modifier and Type Method Description java.util.List<IMockInvocation>
MockInteraction. getAcceptedInvocations()
java.util.List<IMockInvocation>
MockInteractionDecorator. getAcceptedInvocations()
Methods in org.spockframework.mock.runtime with parameters of type IMockInvocation Modifier and Type Method Description java.lang.Object
MockInteraction. accept(IMockInvocation invocation)
java.lang.Object
MockInteractionDecorator. accept(IMockInvocation invocation)
void
InteractionScope. addUnmatchedInvocation(IMockInvocation invocation)
int
MockInteraction. computeSimilarityScore(IMockInvocation invocation)
int
MockInteractionDecorator. computeSimilarityScore(IMockInvocation invocation)
java.lang.Object
MockController. handle(IMockInvocation invocation)
IMockInteraction
InteractionScope. match(IMockInvocation invocation)
boolean
MockInteraction. matches(IMockInvocation invocation)
boolean
MockInteractionDecorator. matches(IMockInvocation invocation)
java.lang.Object
CglibRealMethodInvoker. respond(IMockInvocation invocation)
java.lang.Object
FailingRealMethodInvoker. respond(IMockInvocation invocation)
java.lang.Object
GroovyRealMethodInvoker. respond(IMockInvocation invocation)
Constructors in org.spockframework.mock.runtime with parameters of type IMockInvocation Constructor Description DelegatingMockInvocation(IMockInvocation delegate)
-