@Retention(value=RUNTIME) @Target(value=METHOD) @Documented public @interface MockMethod
| Modifier and Type | Optional Element and Description |
|---|---|
Class<?> |
targetClass
explicit set target class instead of adding to parameter list
|
String |
targetMethod
mock specified method instead of method with same name
|
public abstract String targetMethod
public abstract Class<?> targetClass
Copyright © 2021. All rights reserved.