Uses of Interface
org.spockframework.mock.IMockInteraction
Packages that use IMockInteraction
Package
Description
Spock's built-in mocking framework.
-
Uses of IMockInteraction in org.spockframework.mock
Methods in org.spockframework.mock that return IMockInteractionModifier and TypeMethodDescriptionTooManyInvocationsError.getInteraction()
WrongInvocationOrderError.getInteraction()
DefaultEqualsHashCodeToStringInteractions.match
(IMockInvocation invocation) IInteractionScope.match
(IMockInvocation invocation) Methods in org.spockframework.mock with parameters of type IMockInteractionModifier and TypeMethodDescriptionvoid
DefaultEqualsHashCodeToStringInteractions.addInteraction
(IMockInteraction interaction) void
IInteractionScope.addInteraction
(IMockInteraction interaction) boolean
IMockObject.matches
(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 IMockInteractionModifierConstructorDescriptionTooManyInvocationsError
(IMockInteraction interaction, List<IMockInvocation> acceptedInvocations) WrongInvocationOrderError
(IMockInteraction interaction, IMockInvocation lastInvocation) Constructor parameters in org.spockframework.mock with type arguments of type IMockInteractionModifierConstructorDescriptionTooFewInvocationsError
(List<IMockInteraction> interactions, List<IMockInvocation> unmatchedInvocations) -
Uses of IMockInteraction in org.spockframework.mock.constraint
Methods in org.spockframework.mock.constraint with parameters of type IMockInteractionModifier and TypeMethodDescriptionvoid
TargetConstraint.setInteraction
(IMockInteraction interaction) -
Uses of IMockInteraction in org.spockframework.mock.runtime
Classes in org.spockframework.mock.runtime that implement IMockInteractionModifier and TypeClassDescriptionclass
An anticipated interaction between the SUT and one or more mock objects.class
Fields in org.spockframework.mock.runtime declared as IMockInteractionModifier and TypeFieldDescriptionprotected final IMockInteraction
MockInteractionDecorator.decorated
Methods in org.spockframework.mock.runtime that return IMockInteractionModifier and TypeMethodDescriptionInteractionBuilder.build()
InteractionScope.match
(IMockInvocation invocation) Methods in org.spockframework.mock.runtime with parameters of type IMockInteractionModifier and TypeMethodDescriptionvoid
InteractionScope.addInteraction
(IMockInteraction interaction) void
MockController.addInteraction
(IMockInteraction interaction) boolean
MockObject.matches
(Object target, IMockInteraction interaction) Constructors in org.spockframework.mock.runtime with parameters of type IMockInteraction