Package org.spockframework.mock.runtime
Class InteractionScope
java.lang.Object
org.spockframework.mock.runtime.InteractionScope
- All Implemented Interfaces:
IInteractionScope
A scope for interactions defined outside a then-block
- Author:
- Peter Niederwieser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addInteraction
(IMockInteraction interaction) void
void
addUnmatchedInvocation
(IMockInvocation invocation) match
(IMockInvocation invocation) void
-
Constructor Details
-
InteractionScope
public InteractionScope()
-
-
Method Details
-
addInteraction
- Specified by:
addInteraction
in interfaceIInteractionScope
-
addOrderingBarrier
public void addOrderingBarrier()- Specified by:
addOrderingBarrier
in interfaceIInteractionScope
-
addUnmatchedInvocation
- Specified by:
addUnmatchedInvocation
in interfaceIInteractionScope
-
match
- Specified by:
match
in interfaceIInteractionScope
-
verifyInteractions
public void verifyInteractions()- Specified by:
verifyInteractions
in interfaceIInteractionScope
-