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 TypeMethodDescriptionvoidaddInteraction(IMockInteraction interaction) voidvoidaddUnmatchedInvocation(IMockInvocation invocation) match(IMockInvocation invocation) void
-
Constructor Details
-
InteractionScope
public InteractionScope()
-
-
Method Details
-
addInteraction
- Specified by:
addInteractionin interfaceIInteractionScope
-
addOrderingBarrier
public void addOrderingBarrier()- Specified by:
addOrderingBarrierin interfaceIInteractionScope
-
addUnmatchedInvocation
- Specified by:
addUnmatchedInvocationin interfaceIInteractionScope
-
match
- Specified by:
matchin interfaceIInteractionScope
-
verifyInteractions
public void verifyInteractions()- Specified by:
verifyInteractionsin interfaceIInteractionScope
-