public interface MethodInvocationReport
Contains the information on the mock, the location of the stub the return value if it returned something (maybe null), or an exception if one was thrown when the method was invoked.
| Modifier and Type | Method and Description |
|---|---|
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() |
boolean |
threwException() |
DescribedInvocation getInvocation()
DescribedInvocation type. Sorry for inconvenience but we had to move
PrintableInvocation to better place to keep the API consistency.nulljava.lang.Object getReturnedValue()
nulljava.lang.Throwable getThrowable()
nullboolean threwException()
true if an exception was raised, false otherwisejava.lang.String getLocationOfStubbing()