org.mockito.invocation
Interface InvocationOnMock

All Known Implementing Classes:
Invocation

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[] 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

getMock

java.lang.Object getMock()
returns the mock object

Returns:
mock object

getMethod

java.lang.reflect.Method getMethod()
returns the method

Returns:
method

getArguments

java.lang.Object[] getArguments()
returns arguments passed to the method

Returns:
arguments