|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mockito.internal.invocation.InvocationMatcher
org.mockito.internal.stubbing.StubbedInvocationMatcher
public class StubbedInvocationMatcher
| Constructor Summary | |
|---|---|
StubbedInvocationMatcher(InvocationMatcher invocation,
Answer answer)
|
|
| Method Summary | |
|---|---|
void |
addAnswer(Answer answer)
|
java.lang.Object |
answer(Invocation invocation)
|
java.lang.String |
toString()
|
| Methods inherited from class org.mockito.internal.invocation.InvocationMatcher |
|---|
getInvocation, getMatchers, getMethod, hasSameMethod, hasSimilarMethod, matches, printsInMultilines, toMultilineString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StubbedInvocationMatcher(InvocationMatcher invocation,
Answer answer)
| Method Detail |
|---|
public java.lang.Object answer(Invocation invocation)
throws java.lang.Throwable
java.lang.Throwablepublic void addAnswer(Answer answer)
public java.lang.String toString()
toString in interface PrintableInvocationtoString in interface CanPrintInMultilinestoString in class InvocationMatcher
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||