Uses of Interface
org.mockito.stubbing.Answer2
-
Packages that use Answer2 Package Description org.mockito Mockito is a mock library for java - seeMockito
class for usage.org.mockito.internal.stubbing.answers Answers for stubbed calls. -
-
Uses of Answer2 in org.mockito
Methods in org.mockito with parameters of type Answer2 Modifier and Type Method Description static <T,A,B>
Answer<T>AdditionalAnswers. answer(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 -
Uses of Answer2 in org.mockito.internal.stubbing.answers
Methods in org.mockito.internal.stubbing.answers with parameters of type Answer2 Modifier and Type Method Description static <T,A,B>
Answer<T>AnswerFunctionalInterfaces. toAnswer(Answer2<T,A,B> answer)
Construct an answer from a two parameter answer interface
-