Uses of Interface
org.easymock.IAnswer
-
Packages that use IAnswer Package Description org.easymock org.easymock.internal -
-
Uses of IAnswer in org.easymock
Methods in org.easymock with parameters of type IAnswer Modifier and Type Method Description IExpectationSetters<T>
IExpectationSetters. andAnswer(IAnswer<? extends T> answer)
Sets an object that will be used to calculate the answer for the expected invocation (either return a value, or throw an exception).void
IExpectationSetters. andStubAnswer(IAnswer<? extends T> answer)
Sets a stub object that will be used to calculate the answer for the expected invocation (either return a value, or throw an exception). -
Uses of IAnswer in org.easymock.internal
Classes in org.easymock.internal that implement IAnswer Modifier and Type Class Description class
Result
Methods in org.easymock.internal with parameters of type IAnswer Modifier and Type Method Description void
IMocksControlState. andAnswer(IAnswer<?> answer)
IExpectationSetters<java.lang.Object>
MocksControl. andAnswer(IAnswer<? extends java.lang.Object> answer)
void
RecordState. andAnswer(IAnswer<?> answer)
void
ReplayState. andAnswer(IAnswer<?> answer)
void
IMocksControlState. andStubAnswer(IAnswer<?> answer)
void
MocksControl. andStubAnswer(IAnswer<? extends java.lang.Object> answer)
void
RecordState. andStubAnswer(IAnswer<?> answer)
void
ReplayState. andStubAnswer(IAnswer<?> answer)
static Result
Result. createAnswerResult(IAnswer<?> answer)
-