Package org.spockframework.mock
Interface IInteractionScope
- All Known Implementing Classes:
DefaultEqualsHashCodeToStringInteractions
,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 TypeMethodDescriptionvoid
addInteraction
(IMockInteraction interaction) void
void
addUnmatchedInvocation
(IMockInvocation invocation) match
(IMockInvocation invocation) void
-
Method Details
-
addInteraction
-
addOrderingBarrier
void addOrderingBarrier() -
addUnmatchedInvocation
-
match
-
verifyInteractions
void verifyInteractions()
-