| 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 | ReplayState. andAnswer(IAnswer<?> answer) | 
| void | RecordState. andAnswer(IAnswer<?> answer) | 
| void | IMocksControlState. andAnswer(IAnswer<?> answer) | 
| IExpectationSetters<Object> | MocksControl. andAnswer(IAnswer<? extends Object> answer) | 
| void | ReplayState. andStubAnswer(IAnswer<?> answer) | 
| void | RecordState. andStubAnswer(IAnswer<?> answer) | 
| void | IMocksControlState. andStubAnswer(IAnswer<?> answer) | 
| void | MocksControl. andStubAnswer(IAnswer<? extends Object> answer) | 
| static Result | Result. createAnswerResult(IAnswer<?> answer) | 
Copyright © 2001–2014 EasyMock contributors. All rights reserved.