Package org.spockframework.mock
Interface IInteractionScope
- All Known Implementing Classes:
DefaultJavaLangObjectInteractions,InteractionScope
public interface IInteractionScope
An interaction scope holds a group of interactions that will be verified,
and thereafter removed, at the same time.
- Author:
- Peter Niederwieser
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddInteraction(IMockInteraction interaction) voidvoidaddUnmatchedInvocation(IMockInvocation invocation) match(IMockInvocation invocation) void
-
Method Details
-
addInteraction
-
addOrderingBarrier
void addOrderingBarrier() -
addUnmatchedInvocation
-
match
-
verifyInteractions
void verifyInteractions()
-