Package | Description |
---|---|
org.easymock | |
org.easymock.internal |
Modifier and Type | Method and Description |
---|---|
IExpectationSetters<T> |
IExpectationSetters.andAnswer(IAnswer<? extends T> answer)
Sets an object that will be used to calculate the answer for the expected
invocation (either return a value, or throw an exception).
|
void |
IExpectationSetters.andStubAnswer(IAnswer<? extends T> answer)
Sets a stub object that will be used to calculate the answer for the
expected invocation (either return a value, or throw an exception).
|
Modifier and Type | Class and Description |
---|---|
class |
Result |
Modifier and Type | Method and Description |
---|---|
void |
RecordState.andAnswer(IAnswer<?> answer) |
void |
IMocksControlState.andAnswer(IAnswer<?> answer) |
void |
ReplayState.andAnswer(IAnswer<?> answer) |
IExpectationSetters<Object> |
MocksControl.andAnswer(IAnswer<?> answer) |
void |
RecordState.andStubAnswer(IAnswer<?> answer) |
void |
IMocksControlState.andStubAnswer(IAnswer<?> answer) |
void |
ReplayState.andStubAnswer(IAnswer<?> answer) |
void |
MocksControl.andStubAnswer(IAnswer<?> answer) |
static Result |
Result.createAnswerResult(IAnswer<?> answer) |
Copyright © 2001–2022 EasyMock contributors. All rights reserved.