public interface MockingProgress
Modifier and Type | Method and Description |
---|---|
ArgumentMatcherStorage |
getArgumentMatcherStorage() |
VerificationMode |
maybeVerifyLazily(VerificationMode mode) |
void |
mockingStarted(Object mock,
Class classToMock) |
OngoingStubbing |
pullOngoingStubbing() |
VerificationMode |
pullVerificationMode() |
void |
reportOngoingStubbing(OngoingStubbing ongoingStubbing) |
void |
reset() |
void |
resetOngoingStubbing()
Removes ongoing stubbing so that in case the framework is misused
state validation errors are more accurate
|
void |
setListener(MockingProgressListener listener) |
void |
setVerificationStrategy(VerificationStrategy strategy) |
void |
stubbingCompleted(Invocation invocation) |
void |
stubbingStarted() |
void |
validateState() |
void |
verificationStarted(VerificationMode verificationMode) |
void reportOngoingStubbing(OngoingStubbing ongoingStubbing)
OngoingStubbing pullOngoingStubbing()
void verificationStarted(VerificationMode verificationMode)
VerificationMode pullVerificationMode()
void stubbingStarted()
void stubbingCompleted(Invocation invocation)
void validateState()
void reset()
void resetOngoingStubbing()
ArgumentMatcherStorage getArgumentMatcherStorage()
void setListener(MockingProgressListener listener)
void setVerificationStrategy(VerificationStrategy strategy)
VerificationMode maybeVerifyLazily(VerificationMode mode)