public static class ClassProxyFactory.MockMethodInterceptor extends Object implements net.sf.cglib.proxy.MethodInterceptor, Serializable
Constructor and Description |
---|
MockMethodInterceptor(InvocationHandler handler) |
Modifier and Type | Method and Description |
---|---|
Object |
intercept(Object obj,
Method method,
Object[] args,
net.sf.cglib.proxy.MethodProxy proxy) |
void |
setMockedMethods(Method... mockedMethods) |
public MockMethodInterceptor(InvocationHandler handler)
public Object intercept(Object obj, Method method, Object[] args, net.sf.cglib.proxy.MethodProxy proxy) throws Throwable
intercept
in interface net.sf.cglib.proxy.MethodInterceptor
Throwable
public void setMockedMethods(Method... mockedMethods)
Copyright © 2001–2021 EasyMock contributors. All rights reserved.