| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
public interface IAnswer<T>Method Summary | |
T |
|
public T answer()
throws Throwableis called by EasyMock to answer an expected call. The answer may be to return a value, or to throw an exception. The arguments of the call for which the answer is generated are available viaEasyMock.getCurrentArguments()- be careful here, using the arguments is not refactoring-safe.
- Returns:
- the value to be returned