Class Stubber
java.lang.Object
org.powermock.api.support.Stubber
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstubMethod(Class<?> declaringClass, String methodName, Object returnObject) Add a method that should be intercepted and return another value (returnObject) (i.e.static voidstubMethod(Method method, Object returnObject) Add a method that should be intercepted and return another value (returnObject) (i.e.
-
Constructor Details
-
Stubber
public Stubber()
-
-
Method Details
-
stubMethod
-
stubMethod
-