org.spockframework.mock
Class InteractionScope
java.lang.Object
org.spockframework.mock.InteractionScope
- All Implemented Interfaces:
- IInteractionScope
public class InteractionScope
- extends Object
- implements IInteractionScope
A scope for interactions defined outside a then-block
- Author:
- Peter Niederwieser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InteractionScope
public InteractionScope()
addInteraction
public void addInteraction(IMockInteraction interaction)
- Specified by:
addInteraction
in interface IInteractionScope
addOrderingBarrier
public void addOrderingBarrier()
- Specified by:
addOrderingBarrier
in interface IInteractionScope
match
public IMockInteraction match(IMockInvocation invocation)
- Specified by:
match
in interface IInteractionScope
verifyInteractions
public void verifyInteractions()
- Specified by:
verifyInteractions
in interface IInteractionScope
Copyright © 2010. All Rights Reserved.