Package org.mockito.internal.progress
Class ThreadSafeMockingProgress
java.lang.Object
org.mockito.internal.progress.ThreadSafeMockingProgress
- All Implemented Interfaces:
Serializable
,MockingProgress
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
mockingStarted
(Object mock, Class classToMock) void
reportOngoingStubbing
(IOngoingStubbing iOngoingStubbing) void
reset()
void
Removes ongoing stubbing so that in case the framework is misused state validation errors are more accuratevoid
setListener
(MockingProgressListener listener) void
stubbingCompleted
(Invocation invocation) void
toString()
void
void
verificationStarted
(VerificationMode verify)
-
Constructor Details
-
ThreadSafeMockingProgress
public ThreadSafeMockingProgress()
-
-
Method Details
-
reportOngoingStubbing
- Specified by:
reportOngoingStubbing
in interfaceMockingProgress
-
pullOngoingStubbing
- Specified by:
pullOngoingStubbing
in interfaceMockingProgress
-
verificationStarted
- Specified by:
verificationStarted
in interfaceMockingProgress
-
pullVerificationMode
- Specified by:
pullVerificationMode
in interfaceMockingProgress
-
stubbingStarted
public void stubbingStarted()- Specified by:
stubbingStarted
in interfaceMockingProgress
-
validateState
public void validateState()- Specified by:
validateState
in interfaceMockingProgress
-
stubbingCompleted
- Specified by:
stubbingCompleted
in interfaceMockingProgress
-
toString
-
reset
public void reset()- Specified by:
reset
in interfaceMockingProgress
-
resetOngoingStubbing
public void resetOngoingStubbing()Description copied from interface:MockingProgress
Removes ongoing stubbing so that in case the framework is misused state validation errors are more accurate- Specified by:
resetOngoingStubbing
in interfaceMockingProgress
-
getArgumentMatcherStorage
- Specified by:
getArgumentMatcherStorage
in interfaceMockingProgress
-
mockingStarted
- Specified by:
mockingStarted
in interfaceMockingProgress
-
setListener
- Specified by:
setListener
in interfaceMockingProgress
-