public class StubbedInvocationMatcher extends InvocationMatcher implements Answer, java.io.Serializable
| Constructor and Description |
|---|
StubbedInvocationMatcher(InvocationMatcher invocation,
Answer answer) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAnswer(Answer answer) |
java.lang.Object |
answer(InvocationOnMock invocation) |
void |
markStubUsed(PrintableInvocation usedAt) |
java.lang.String |
toString() |
boolean |
wasUsed() |
captureArgumentsFrom, createFrom, getInvocation, getLocation, getMatchers, getMethod, hasSameMethod, hasSimilarMethod, matches, toStringpublic StubbedInvocationMatcher(InvocationMatcher invocation, Answer answer)
public java.lang.Object answer(InvocationOnMock invocation) throws java.lang.Throwable
public void addAnswer(Answer answer)
public void markStubUsed(PrintableInvocation usedAt)
public boolean wasUsed()
public java.lang.String toString()
toString in interface PrintableInvocationtoString in class InvocationMatcher