public class StubbedInvocationMatcher extends InvocationMatcher implements Answer, Serializable
| Constructor and Description |
|---|
StubbedInvocationMatcher(InvocationMatcher invocation,
Answer answer) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAnswer(Answer answer) |
Object |
answer(InvocationOnMock invocation) |
void |
markStubUsed(DescribedInvocation usedAt) |
String |
toString()
Describes the invocation in the human friendly way.
|
boolean |
wasUsed() |
captureArgumentsFrom, createFrom, getInvocation, getLocation, getMatchers, getMethod, hasSameMethod, hasSimilarMethod, matchespublic StubbedInvocationMatcher(InvocationMatcher invocation, Answer answer)
public Object answer(InvocationOnMock invocation) throws Throwable
public void addAnswer(Answer answer)
public void markStubUsed(DescribedInvocation usedAt)
public boolean wasUsed()
public String toString()
DescribedInvocationtoString in interface DescribedInvocationtoString in class InvocationMatcher