public interface IMocksControlState
Modifier and Type | Method and Description |
---|---|
void |
andAnswer(IAnswer<?> answer) |
void |
andDelegateTo(Object answer) |
void |
andReturn(Object value) |
void |
andStubAnswer(IAnswer<?> answer) |
void |
andStubDelegateTo(Object delegateTo) |
void |
andStubReturn(Object value) |
void |
andStubThrow(Throwable throwable) |
void |
andThrow(Throwable throwable) |
void |
andVoid() |
void |
assertRecordState() |
void |
asStub() |
void |
checkIsUsedInOneThread(boolean shouldBeUsedInOneThread) |
void |
checkOrder(boolean value) |
Object |
invoke(Invocation invocation) |
void |
makeThreadSafe(boolean threadSafe) |
void |
replay() |
void |
times(Range range) |
void |
verify() |
void |
verifyRecording() |
void |
verifyUnexpectedCalls() |
Object invoke(Invocation invocation) throws Throwable
Throwable
void assertRecordState()
void andReturn(Object value)
void andThrow(Throwable throwable)
void andAnswer(IAnswer<?> answer)
void andDelegateTo(Object answer)
void andVoid()
void andStubReturn(Object value)
void andStubThrow(Throwable throwable)
void andStubAnswer(IAnswer<?> answer)
void andStubDelegateTo(Object delegateTo)
void asStub()
void times(Range range)
void checkOrder(boolean value)
void makeThreadSafe(boolean threadSafe)
void checkIsUsedInOneThread(boolean shouldBeUsedInOneThread)
void replay()
void verifyRecording()
void verifyUnexpectedCalls()
void verify()
Copyright © 2001–2022 EasyMock contributors. All rights reserved.