interface ProxyFactory
| Modifier and Type | Method and Description |
|---|---|
<T> T |
createProxy(Class<?> targetClass,
org.mockito.cglib.proxy.MethodInterceptor interceptor)
Create a proxy.
|
<T> T createProxy(Class<?> targetClass, org.mockito.cglib.proxy.MethodInterceptor interceptor)
T - The type parameter makes some casts redundant.targetClass - the class the factory shall create a proxy forinterceptor - the method interceptor that shall be applied to all method
calls.Copyright © 2014. All rights reserved.