org.spockframework.mock
Class MockInteractionDecorator

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

public abstract class MockInteractionDecorator
extends java.lang.Object
implements IMockInteraction


Field Summary
protected  IMockInteraction decorated
           
 
Constructor Summary
MockInteractionDecorator(IMockInteraction decorated)
           
 
Method Summary
 java.lang.Object accept(IMockInvocation invocation)
           
 int getColumn()
           
 int getLine()
           
 java.lang.String getText()
           
 boolean isExhausted()
           
 boolean isSatisfied()
           
 boolean matches(IMockInvocation invocation)
           
 java.lang.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 java.lang.String getText()
Specified by:
getText in interface IMockInteraction

matches

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

accept

public java.lang.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 java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2013. All rights reserved