|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mockito.internal.listeners.NotifiedMethodInvocationReport
public class NotifiedMethodInvocationReport
Report on a method call
| Constructor Summary | |
|---|---|
NotifiedMethodInvocationReport(Invocation invocation,
java.lang.Object returnedValue)
Build a new MethodInvocationReport with a return value. |
|
NotifiedMethodInvocationReport(Invocation invocation,
java.lang.Throwable throwable)
Build a new MethodInvocationReport with a return value. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
DescribedInvocation |
getInvocation()
The return type is deprecated, please assign the return value from this method to the DescribedInvocation type. |
java.lang.String |
getLocationOfStubbing()
|
java.lang.Object |
getReturnedValue()
|
java.lang.Throwable |
getThrowable()
|
int |
hashCode()
|
boolean |
threwException()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NotifiedMethodInvocationReport(Invocation invocation,
java.lang.Object returnedValue)
MethodInvocationReport with a return value.
invocation - Information on the method callreturnedValue - The value returned by the method invocation
public NotifiedMethodInvocationReport(Invocation invocation,
java.lang.Throwable throwable)
MethodInvocationReport with a return value.
invocation - Information on the method callthrowable - Tha throwable raised by the method invocation| Method Detail |
|---|
public DescribedInvocation getInvocation()
MethodInvocationReportDescribedInvocation type. Sorry for inconvenience but we had to move
PrintableInvocation to better place to keep the API consistency.
getInvocation in interface MethodInvocationReportnullpublic java.lang.Object getReturnedValue()
getReturnedValue in interface MethodInvocationReportnullpublic java.lang.Throwable getThrowable()
getThrowable in interface MethodInvocationReportnullpublic boolean threwException()
threwException in interface MethodInvocationReporttrue if an exception was raised, false otherwisepublic java.lang.String getLocationOfStubbing()
getLocationOfStubbing in interface MethodInvocationReportpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||