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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addInteraction(IMockInteraction interaction)
void
addOrderingBarrier()
void
addUnmatchedInvocation(IMockInvocation invocation)
IMockInteraction
match(IMockInvocation invocation)
void
verifyInteractions()
-
-
-
Method Detail
-
addInteraction
void addInteraction(IMockInteraction interaction)
-
addOrderingBarrier
void addOrderingBarrier()
-
addUnmatchedInvocation
void addUnmatchedInvocation(IMockInvocation invocation)
-
match
IMockInteraction match(IMockInvocation invocation)
-
verifyInteractions
void verifyInteractions()
-
-