Package org.mockito.internal.progress
Interface MockingProgress
-
- All Known Implementing Classes:
MockingProgressImpl
public interface MockingProgress
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addListener(MockitoListener listener)
void
clearListeners()
Removes all listeners added viaaddListener(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 accuratevoid
setVerificationStrategy(VerificationStrategy strategy)
void
stubbingCompleted()
void
stubbingStarted()
void
validateState()
java.util.Set<VerificationListener>
verificationListeners()
void
verificationStarted(VerificationMode verificationMode)
-
-
-
Method Detail
-
reportOngoingStubbing
void reportOngoingStubbing(OngoingStubbing<?> ongoingStubbing)
-
pullOngoingStubbing
OngoingStubbing<?> pullOngoingStubbing()
-
verificationListeners
java.util.Set<VerificationListener> verificationListeners()
-
verificationStarted
void verificationStarted(VerificationMode verificationMode)
-
pullVerificationMode
VerificationMode pullVerificationMode()
-
stubbingStarted
void stubbingStarted()
-
stubbingCompleted
void stubbingCompleted()
-
validateState
void validateState()
-
reset
void reset()
-
resetOngoingStubbing
void resetOngoingStubbing()
Removes ongoing stubbing so that in case the framework is misused state validation errors are more accurate
-
getArgumentMatcherStorage
ArgumentMatcherStorage getArgumentMatcherStorage()
-
mockingStarted
void mockingStarted(java.lang.Object mock, MockCreationSettings settings)
-
addListener
void addListener(MockitoListener listener)
-
removeListener
void removeListener(MockitoListener listener)
-
setVerificationStrategy
void setVerificationStrategy(VerificationStrategy strategy)
-
maybeVerifyLazily
VerificationMode maybeVerifyLazily(VerificationMode mode)
-
clearListeners
void clearListeners()
Removes all listeners added viaaddListener(MockitoListener)
.
-
-