|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.spockframework.mock.InteractionScope
public class InteractionScope
A scope for interactions defined outside a then-block
Constructor Summary | |
---|---|
InteractionScope()
|
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 |
Constructor Detail |
---|
public InteractionScope()
Method Detail |
---|
public void addInteraction(IMockInteraction interaction)
addInteraction
in interface IInteractionScope
public void addOrderingBarrier()
addOrderingBarrier
in interface IInteractionScope
public IMockInteraction match(IMockInvocation invocation)
match
in interface IInteractionScope
public void verifyInteractions()
verifyInteractions
in interface IInteractionScope
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |