public interface InvocationHandler
| Modifier and Type | Field and Description |
|---|---|
static InvocationHandler |
NULL |
| Modifier and Type | Method and Description |
|---|---|
Object |
invocation(String id,
Class objectType,
String method,
Object[] arguments,
MethodHandle methodHandle)
Called when an invocation is made to a mock.
|
static final InvocationHandler NULL
Object invocation(String id, Class objectType, String method, Object[] arguments, MethodHandle methodHandle) throws Throwable
id - The id of the mock that made the invocationobjectType - The type of the object that received the method invocationmethod - The method that was invokedmethodHandle - A callback to the original method on the receiving object.the - arguments that was passed to the invoked methodany - throwable that might be thrownThrowableCopyright © 2005-2013 Agical AB. All Rights Reserved.