org.spockframework.mock
Class MockInteractionDecorator

java.lang.Object
  extended by org.spockframework.mock.MockInteractionDecorator
All Implemented Interfaces:
IMockInteraction

public abstract class MockInteractionDecorator
extends Object
implements IMockInteraction


Field Summary
protected  IMockInteraction decorated
           
 
Constructor Summary
MockInteractionDecorator(IMockInteraction decorated)
           
 
Method Summary
 Object accept(IMockInvocation invocation)
           
 int getColumn()
           
 int getLine()
           
 String getText()
           
 boolean isExhausted()
           
 boolean isSatisfied()
           
 boolean matches(IMockInvocation invocation)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

decorated

protected final IMockInteraction decorated
Constructor Detail

MockInteractionDecorator

public MockInteractionDecorator(IMockInteraction decorated)
Method Detail

getLine

public int getLine()
Specified by:
getLine in interface IMockInteraction

getColumn

public int getColumn()
Specified by:
getColumn in interface IMockInteraction

getText

public String getText()
Specified by:
getText in interface IMockInteraction

matches

public boolean matches(IMockInvocation invocation)
Specified by:
matches in interface IMockInteraction

accept

public Object accept(IMockInvocation invocation)
Specified by:
accept in interface IMockInteraction

isSatisfied

public boolean isSatisfied()
Specified by:
isSatisfied in interface IMockInteraction

isExhausted

public boolean isExhausted()
Specified by:
isExhausted in interface IMockInteraction

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010. All Rights Reserved.