public interface IMockInvocation
| Modifier and Type | Method and Description |
|---|---|
Object |
callRealMethod()
Delegates this method invocation to the real object underlying this mock object,
including any method arguments.
|
Object |
callRealMethodWithArgs(Object... arguments)
Delegates this method invocation to the real object underlying this mock object,
replacing the original method arguments with the specified arguments.
|
List<Object> |
getArguments()
The arguments for the invocation.
|
IMockMethod |
getMethod()
The invoked method.
|
IMockObject |
getMockObject()
The mock object that received the invocation.
|
IMockObject getMockObject()
IMockMethod getMethod()
Object callRealMethod()
CannotInvokeRealMethodException is thrown.Object callRealMethodWithArgs(Object... arguments)
CannotInvokeRealMethodException is thrown.