@Retention(value=RUNTIME) @Target(value=METHOD) @Documented public @interface MockInvoke
| Modifier and Type | Optional Element and Description |
|---|---|
MockScope |
scope
specify the effective scope of the mock method
|
Class<?> |
targetClass
explicit set target class instead of adding to parameter list
|
String |
targetClassName
alternative to 'targetClass' field for private internal class
|
String |
targetMethod
mock specified method instead of method with same name
|
public abstract String targetMethod
public abstract Class<?> targetClass
public abstract String targetClassName
public abstract MockScope scope
Copyright © 2022. All rights reserved.