Package | Description |
---|---|
org.easymock | |
org.easymock.internal |
Modifier and Type | Method | 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 | Description |
---|---|---|
class |
Result |
Modifier and Type | Method | Description |
---|---|---|
void |
IMocksControlState.andAnswer(IAnswer<?> answer) |
|
IExpectationSetters<Object> |
MocksControl.andAnswer(IAnswer<? extends Object> answer) |
|
void |
RecordState.andAnswer(IAnswer<?> answer) |
|
void |
ReplayState.andAnswer(IAnswer<?> answer) |
|
void |
IMocksControlState.andStubAnswer(IAnswer<?> answer) |
|
void |
MocksControl.andStubAnswer(IAnswer<? extends Object> answer) |
|
void |
RecordState.andStubAnswer(IAnswer<?> answer) |
|
void |
ReplayState.andStubAnswer(IAnswer<?> answer) |
|
static Result |
Result.createAnswerResult(IAnswer<?> answer) |
Copyright © 2001–2018 EasyMock contributors. All rights reserved.