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,C,D> |
AdditionalAnswers.answer(AnswerFunctionalInterfaces.Answer4<T,A,B,C,D> 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,C,D> |
AnswerFunctionalInterfaces.toAnswer(AnswerFunctionalInterfaces.Answer4<T,A,B,C,D> answer)
Construct an answer from a four parameter answer interface
|