Uses of Interface
org.spockframework.mock.IMockInteraction
-
Packages that use IMockInteraction Package Description org.spockframework.mock Spock's built-in mocking framework.org.spockframework.mock.constraint org.spockframework.mock.runtime -
-
Uses of IMockInteraction in org.spockframework.mock
Methods in org.spockframework.mock that return IMockInteraction Modifier and Type Method Description IMockInteraction
TooManyInvocationsError. getInteraction()
IMockInteraction
WrongInvocationOrderError. getInteraction()
IMockInteraction
DefaultEqualsHashCodeToStringInteractions. match(IMockInvocation invocation)
IMockInteraction
IInteractionScope. match(IMockInvocation invocation)
Methods in org.spockframework.mock with parameters of type IMockInteraction Modifier and Type Method Description void
DefaultEqualsHashCodeToStringInteractions. addInteraction(IMockInteraction interaction)
void
IInteractionScope. addInteraction(IMockInteraction interaction)
boolean
IMockObject. matches(java.lang.Object target, IMockInteraction interaction)
Tells whether this mock object matches the target of the specified interaction.void
IInteractionAware. setInteraction(IMockInteraction interaction)
Constructors in org.spockframework.mock with parameters of type IMockInteraction Constructor Description TooManyInvocationsError(IMockInteraction interaction, java.util.List<IMockInvocation> acceptedInvocations)
WrongInvocationOrderError(IMockInteraction interaction, IMockInvocation lastInvocation)
Constructor parameters in org.spockframework.mock with type arguments of type IMockInteraction Constructor Description TooFewInvocationsError(java.util.List<IMockInteraction> interactions, java.util.List<IMockInvocation> unmatchedInvocations)
-
Uses of IMockInteraction in org.spockframework.mock.constraint
Methods in org.spockframework.mock.constraint with parameters of type IMockInteraction Modifier and Type Method Description void
TargetConstraint. setInteraction(IMockInteraction interaction)
-
Uses of IMockInteraction in org.spockframework.mock.runtime
Classes in org.spockframework.mock.runtime that implement IMockInteraction Modifier and Type Class Description class
MockInteraction
An anticipated interaction between the SUT and one or more mock objects.class
MockInteractionDecorator
Fields in org.spockframework.mock.runtime declared as IMockInteraction Modifier and Type Field Description protected IMockInteraction
MockInteractionDecorator. decorated
Methods in org.spockframework.mock.runtime that return IMockInteraction Modifier and Type Method Description IMockInteraction
InteractionBuilder. build()
IMockInteraction
InteractionScope. match(IMockInvocation invocation)
Methods in org.spockframework.mock.runtime with parameters of type IMockInteraction Modifier and Type Method Description void
InteractionScope. addInteraction(IMockInteraction interaction)
void
MockController. addInteraction(IMockInteraction interaction)
boolean
MockObject. matches(java.lang.Object target, IMockInteraction interaction)
Constructors in org.spockframework.mock.runtime with parameters of type IMockInteraction Constructor Description MockInteractionDecorator(IMockInteraction decorated)
-