public abstract class MockInteractionDecorator extends java.lang.Object implements IMockInteraction
Modifier and Type | Field and Description |
---|---|
protected IMockInteraction |
decorated |
Constructor and Description |
---|
MockInteractionDecorator(IMockInteraction decorated) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
accept(IMockInvocation invocation) |
int |
computeSimilarityScore(IMockInvocation invocation) |
java.util.List<IMockInvocation> |
getAcceptedInvocations() |
int |
getColumn() |
int |
getLine() |
java.lang.String |
getText() |
boolean |
isExhausted() |
boolean |
isRequired() |
boolean |
isSatisfied() |
boolean |
matches(IMockInvocation invocation) |
java.lang.String |
toString() |
protected final IMockInteraction decorated
public MockInteractionDecorator(IMockInteraction decorated)
public int getLine()
getLine
in interface IMockInteraction
public int getColumn()
getColumn
in interface IMockInteraction
public java.lang.String getText()
getText
in interface IMockInteraction
public boolean matches(IMockInvocation invocation)
matches
in interface IMockInteraction
public java.lang.Object accept(IMockInvocation invocation)
accept
in interface IMockInteraction
public java.util.List<IMockInvocation> getAcceptedInvocations()
getAcceptedInvocations
in interface IMockInteraction
public int computeSimilarityScore(IMockInvocation invocation)
computeSimilarityScore
in interface IMockInteraction
public boolean isSatisfied()
isSatisfied
in interface IMockInteraction
public boolean isExhausted()
isExhausted
in interface IMockInteraction
public boolean isRequired()
isRequired
in interface IMockInteraction
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2013. All rights reserved