Class MethodProxy
java.lang.Object
org.powermock.api.support.MethodProxy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidassertInvocationHandlerNotNull(InvocationHandler invocationHandler) static voidproxy(Class<?> declaringClass, String methodName, InvocationHandler invocationHandler) Add a proxy for a method declared in classdeclaringClass.static voidproxy(Method method, InvocationHandler invocationHandler) Add a proxy for this method.
-
Constructor Details
-
MethodProxy
public MethodProxy()
-
-
Method Details
-
proxy
Add a proxy for this method. Each call to the method will be routed to the invocationHandler instead. -
proxy
public static void proxy(Class<?> declaringClass, String methodName, InvocationHandler invocationHandler) Add a proxy for a method declared in classdeclaringClass. Each call to the method will be routed to the invocationHandler instead. -
assertInvocationHandlerNotNull
-