@Documented
@Retention(value=RUNTIME)
@Target(value={METHOD,FIELD,PARAMETER})
public @interface MC
MockSettings
Modifier and Type | Optional Element and Description |
---|---|
org.mockito.Answers |
answer
Specifies default answers to interactions.
|
java.lang.Class<?>[] |
extraInterfaces
Specifies extra interfaces the mock should implement.
|
java.lang.String |
field
If the collaborator service being injected is a field of the SUT, this
value should indicate the name of the field.
|
java.lang.String |
name
Specifies mock name.
|
int |
value
If the collaborator service being injected is a constructor or method
parameter of the SUT, this value should indicate the index of the
parameter.
|
public abstract int value
public abstract java.lang.String field
public abstract org.mockito.Answers answer
public abstract java.lang.String name
public abstract java.lang.Class<?>[] extraInterfaces