public class MockingProgressImpl extends Object implements MockingProgress
Constructor and Description |
---|
MockingProgressImpl() |
Modifier and Type | Method and Description |
---|---|
ArgumentMatcherStorage |
getArgumentMatcherStorage() |
void |
mockingStarted(Object mock,
Class classToMock,
MockSettings mockSettings) |
IOngoingStubbing |
pullOngoingStubbing() |
VerificationMode |
pullVerificationMode() |
void |
reportOngoingStubbing(IOngoingStubbing iOngoingStubbing) |
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 |
stubbingCompleted(Invocation invocation) |
void |
stubbingStarted() |
String |
toString() |
void |
validateState() |
void |
verificationStarted(VerificationMode verify) |
public void reportOngoingStubbing(IOngoingStubbing iOngoingStubbing)
reportOngoingStubbing
in interface MockingProgress
public IOngoingStubbing pullOngoingStubbing()
pullOngoingStubbing
in interface MockingProgress
public void verificationStarted(VerificationMode verify)
verificationStarted
in interface MockingProgress
public void resetOngoingStubbing()
MockingProgress
resetOngoingStubbing
in interface MockingProgress
public VerificationMode pullVerificationMode()
pullVerificationMode
in interface MockingProgress
public void stubbingStarted()
stubbingStarted
in interface MockingProgress
public void validateState()
validateState
in interface MockingProgress
public void stubbingCompleted(Invocation invocation)
stubbingCompleted
in interface MockingProgress
public void reset()
reset
in interface MockingProgress
public ArgumentMatcherStorage getArgumentMatcherStorage()
getArgumentMatcherStorage
in interface MockingProgress
public void mockingStarted(Object mock, Class classToMock, MockSettings mockSettings)
mockingStarted
in interface MockingProgress
public void setListener(MockingProgressListener listener)
setListener
in interface MockingProgress
Copyright © 2018. All rights reserved.