T - the type to return.Resultpublic interface IAnswer<T>
| Modifier and Type | Method | 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 thrownCopyright © 2001-2019 EasyMock contributors. This documentation is provided under the terms of the Apache 2 licence.