public class Stubber extends Object
Constructor and Description |
---|
Stubber() |
Modifier and Type | Method and Description |
---|---|
static void |
stubMethod(Class<?> declaringClass,
String methodName,
Object returnObject)
Add a method that should be intercepted and return another value (
returnObject ) (i.e. |
static void |
stubMethod(Method method,
Object returnObject)
Add a method that should be intercepted and return another value (
returnObject ) (i.e. |
Copyright © 2019. All rights reserved.