Package org.spockframework.mock
Interface IInteractionScope
-
- All Known Implementing Classes:
DefaultEqualsHashCodeToStringInteractions,InteractionScope
public interface IInteractionScopeAn interaction scope holds a group of interactions that will be verified, and thereafter removed, at the same time.- Author:
- Peter Niederwieser
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddInteraction(IMockInteraction interaction)voidaddOrderingBarrier()voidaddUnmatchedInvocation(IMockInvocation invocation)IMockInteractionmatch(IMockInvocation invocation)voidverifyInteractions()
-
-
-
Method Detail
-
addInteraction
void addInteraction(IMockInteraction interaction)
-
addOrderingBarrier
void addOrderingBarrier()
-
addUnmatchedInvocation
void addUnmatchedInvocation(IMockInvocation invocation)
-
match
IMockInteraction match(IMockInvocation invocation)
-
verifyInteractions
void verifyInteractions()
-
-