Package | Description |
---|---|
org.mockito |
Mockito is a mock library for java - see Mockito class for for usage.
|
org.mockito.internal.stubbing.answers |
Answers for stubbed calls
|
Modifier and Type | Method and Description |
---|---|
static <T,A,B> Answer<T> |
AdditionalAnswers.answer(AnswerFunctionalInterfaces.Answer2<T,A,B> answer)
Creates an answer from a functional interface - allows for a strongly typed answer to be created
ideally in Java 8
|
Modifier and Type | Method and Description |
---|---|
static <T,A,B> Answer<T> |
AnswerFunctionalInterfaces.toAnswer(AnswerFunctionalInterfaces.Answer2<T,A,B> answer)
Construct an answer from a two parameter answer interface
|