org.mockito.internal.progress
Class ThreadSafeMockingProgress
java.lang.Object
org.mockito.internal.progress.ThreadSafeMockingProgress
- All Implemented Interfaces:
- java.io.Serializable, MockingProgress
public class ThreadSafeMockingProgress
- extends java.lang.Object
- implements MockingProgress, java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ThreadSafeMockingProgress
public ThreadSafeMockingProgress()
reportOngoingStubbing
public void reportOngoingStubbing(IOngoingStubbing iOngoingStubbing)
- Specified by:
reportOngoingStubbing
in interface MockingProgress
pullOngoingStubbing
public IOngoingStubbing pullOngoingStubbing()
- Specified by:
pullOngoingStubbing
in interface MockingProgress
verificationStarted
public void verificationStarted(VerificationMode verify)
- Specified by:
verificationStarted
in interface MockingProgress
pullVerificationMode
public VerificationMode pullVerificationMode()
- Specified by:
pullVerificationMode
in interface MockingProgress
stubbingStarted
public void stubbingStarted()
- Specified by:
stubbingStarted
in interface MockingProgress
validateState
public void validateState()
- Specified by:
validateState
in interface MockingProgress
stubbingCompleted
public void stubbingCompleted(Invocation invocation)
- Specified by:
stubbingCompleted
in interface MockingProgress
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
reset
public void reset()
- Specified by:
reset
in interface MockingProgress
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 interface MockingProgress
getArgumentMatcherStorage
public ArgumentMatcherStorage getArgumentMatcherStorage()
- Specified by:
getArgumentMatcherStorage
in interface MockingProgress
mockingStarted
public void mockingStarted(java.lang.Object mock,
java.lang.Class classToMock,
MockSettings mockSettings)
- Specified by:
mockingStarted
in interface MockingProgress
setListener
public void setListener(MockingProgressListener listener)
- Specified by:
setListener
in interface MockingProgress