T
- the type to return.Result
public interface IAnswer<T>
Modifier and Type | Method | Description |
---|---|---|
T |
answer() |
Is called by EasyMock to answer an expected call.
|
T answer() throws Throwable
EasyMock.getCurrentArguments()
- be careful here, using the
arguments is not refactoring-safe.Throwable
- the throwable to be thrownCopyright © 2001–2018 EasyMock contributors. All rights reserved.