@Incubating public interface VerificationStartedEvent
VerificationStartedListener.
For all the details, including how and why to use this API, see VerificationStartedListener.| Modifier and Type | Method and Description |
|---|---|
Object |
getMock()
The mock object that will be used during verification.
|
void |
setMock(Object mock)
Replaces existing mock object for verification with a different one.
|
@Incubating void setMock(Object mock)
VerificationStartedListener.
If this method is used to replace the mock the sibling method getMock() will return the new value.
CAVEAT: if setMock(Object) is invoked multiple times from one or many listeners
the sibling method getMock() will return mock that was set by most recent invocation of setMock(Object).
mock - to be used for verification.@Incubating Object getMock()
setMock(Object) for more details.
Please see VerificationStartedListener for all details of verification started listeners.