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 Throwable
EasyMock.getCurrentArguments()
- be careful here, using the
arguments is not refactoring-safe.Throwable
- the throwable to be thrownCopyright © 2001–2015 EasyMock contributors. All rights reserved.