public final class Result extends Object implements IAnswer<Object>, Serializable
Modifier and Type | Method and Description |
---|---|
Object |
answer()
Is called by EasyMock to answer an expected call.
|
static Result |
createAnswerResult(IAnswer<?> answer) |
static Result |
createDelegatingResult(Object value) |
static Result |
createReturnResult(Object value) |
static Result |
createThrowResult(Throwable throwable) |
boolean |
shouldFillInStackTrace() |
String |
toString() |
public Object answer() throws Throwable
IAnswer
EasyMock.getCurrentArguments()
- be careful here, using the
arguments is not refactoring-safe.public boolean shouldFillInStackTrace()
Copyright © 2001–2014 EasyMock contributors. All rights reserved.