java.io.Serializable, net.sf.cglib.proxy.Callback, net.sf.cglib.proxy.MethodInterceptorpublic static class ClassProxyFactory.MockMethodInterceptor
extends java.lang.Object
implements net.sf.cglib.proxy.MethodInterceptor, java.io.Serializable
| Constructor | Description |
|---|---|
MockMethodInterceptor(java.lang.reflect.InvocationHandler handler) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
intercept(java.lang.Object obj,
java.lang.reflect.Method method,
java.lang.Object[] args,
net.sf.cglib.proxy.MethodProxy proxy) |
|
void |
setMockedMethods(java.lang.reflect.Method... mockedMethods) |
public MockMethodInterceptor(java.lang.reflect.InvocationHandler handler)
public java.lang.Object intercept(java.lang.Object obj,
java.lang.reflect.Method method,
java.lang.Object[] args,
net.sf.cglib.proxy.MethodProxy proxy)
throws java.lang.Throwable
intercept in interface net.sf.cglib.proxy.MethodInterceptorjava.lang.Throwablepublic void setMockedMethods(java.lang.reflect.Method... mockedMethods)
Copyright © 2001-2019 EasyMock contributors. This documentation is provided under the terms of the Apache 2 licence.