org.spockframework.mock
Interface IInteractionScope

All Known Implementing Classes:
DefaultInteractionScope, 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
 void addInteraction(IMockInteraction interaction)
           
 void addOrderingBarrier()
           
 IMockInteraction match(IMockInvocation invocation)
           
 void verifyInteractions()
           
 

Method Detail

addInteraction

void addInteraction(IMockInteraction interaction)

addOrderingBarrier

void addOrderingBarrier()

match

IMockInteraction match(IMockInvocation invocation)

verifyInteractions

void verifyInteractions()


Copyright © 2013. All rights reserved