org.spockframework.mock
Class DefaultInteractionScope

java.lang.Object
  extended by org.spockframework.mock.DefaultInteractionScope
All Implemented Interfaces:
IInteractionScope

public class DefaultInteractionScope
extends java.lang.Object
implements IInteractionScope


Field Summary
static DefaultInteractionScope INSTANCE
           
 
Method Summary
 void addInteraction(IMockInteraction interaction)
           
 void addOrderingBarrier()
           
 IMockInteraction match(IMockInvocation invocation)
           
 void verifyInteractions()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final DefaultInteractionScope INSTANCE
Method Detail

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 © 2013. All rights reserved