@Target(value=FIELD) @Retention(value=RUNTIME) public @interface Mock
LenientMocksControl should be created
and set intp the annotated field.| Modifier and Type | Optional Element and Description |
|---|---|
Calls |
calls
Determines what to do when unexpected method calls occur.
|
Dates |
dates
Determines whether the actual value of a date argument should be checked.
|
Defaults |
defaults
Determines whether default values of arguments should be checked.
|
InvocationOrder |
invocationOrder
Determines whether the order of method calls on the mock object should be checked.
|
Order |
order
Determines whether the order of collection elements should be checked.
|
public abstract InvocationOrder invocationOrder
public abstract Calls calls
public abstract Order order
public abstract Dates dates
public abstract Defaults defaults
Copyright © 2017. All rights reserved.