public static class DummyObjectUtil.DummyObjectInvocationHandler extends Object implements ProxyInvocationHandler
| Constructor and Description |
|---|
DummyObjectUtil.DummyObjectInvocationHandler(Class<?> dummyObjectType,
MockBehavior mockBehavior) |
| Modifier and Type | Method and Description |
|---|---|
Object |
handleInvocation(ProxyInvocation invocation)
Handles the given method invocation of the dummy object.
|
public DummyObjectUtil.DummyObjectInvocationHandler(Class<?> dummyObjectType, MockBehavior mockBehavior)
public Object handleInvocation(ProxyInvocation invocation) throws Throwable
handleInvocation in interface ProxyInvocationHandlerinvocation - The method invocation, not nullThrowableCopyright © 2016. All Rights Reserved.