|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InvocationOnMock
An invocation on a mock
A placeholder for mock, the method that was called and the arguments that were passed.
Method Summary | |
---|---|
java.lang.Object |
callRealMethod()
calls real method |
java.lang.Object[] |
getArguments()
returns arguments passed to the method |
java.lang.reflect.Method |
getMethod()
returns the method |
java.lang.Object |
getMock()
returns the mock object |
Method Detail |
---|
java.lang.Object getMock()
java.lang.reflect.Method getMethod()
java.lang.Object[] getArguments()
java.lang.Object callRealMethod() throws java.lang.Throwable
Warning: depending on the real implementation it might throw exceptions
java.lang.Throwable
- in case real method throws
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |