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.getCurrentArgument(int)
or EasyMock.getCurrentArguments()
.
The former method is preferred since it will infer the argument type.Throwable
- the throwable to be thrownCopyright © 2001–2022 EasyMock contributors. All rights reserved.