T - the type to return.public interface IAnswer<T>
| Modifier and Type | Method and Description |
|---|---|
T |
answer()
Is called by EasyMock to answer an expected call.
|
T answer() throws java.lang.Throwable
EasyMock.getCurrentArguments() - be careful here, using the
arguments is not refactoring-safe.java.lang.Throwable - the throwable to be thrown