public static class DummyObjectUtil.DummyObjectInvocationHandler extends Object implements ProxyInvocationHandler
| Constructor and Description |
|---|
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 DummyObjectInvocationHandler(Class<?> dummyObjectType, MockBehavior mockBehavior)
public Object handleInvocation(ProxyInvocation invocation) throws Throwable
handleInvocation in interface ProxyInvocationHandlerinvocation - The method invocation, not nullThrowableCopyright © 2017. All rights reserved.