public interface MockingProgress
Modifier and Type | Method and Description |
---|---|
void |
addListener(MockitoListener listener) |
void |
clearListeners()
Removes all listeners added via
addListener(MockitoListener) . |
ArgumentMatcherStorage |
getArgumentMatcherStorage() |
VerificationMode |
maybeVerifyLazily(VerificationMode mode) |
void |
mockingStarted(java.lang.Object mock,
MockCreationSettings settings) |
OngoingStubbing<?> |
pullOngoingStubbing() |
VerificationMode |
pullVerificationMode() |
void |
removeListener(MockitoListener listener) |
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 |
setVerificationStrategy(VerificationStrategy strategy) |
void |
stubbingCompleted() |
void |
stubbingStarted() |
void |
validateState() |
java.util.Set<VerificationListener> |
verificationListeners() |
void |
verificationStarted(VerificationMode verificationMode) |
void reportOngoingStubbing(OngoingStubbing<?> ongoingStubbing)
OngoingStubbing<?> pullOngoingStubbing()
java.util.Set<VerificationListener> verificationListeners()
void verificationStarted(VerificationMode verificationMode)
VerificationMode pullVerificationMode()
void stubbingStarted()
void stubbingCompleted()
void validateState()
void reset()
void resetOngoingStubbing()
ArgumentMatcherStorage getArgumentMatcherStorage()
void mockingStarted(java.lang.Object mock, MockCreationSettings settings)
void addListener(MockitoListener listener)
void removeListener(MockitoListener listener)
void setVerificationStrategy(VerificationStrategy strategy)
VerificationMode maybeVerifyLazily(VerificationMode mode)
void clearListeners()
addListener(MockitoListener)
.