Uses of Interface
org.mockito.stubbing.Answer1
-
Packages that use Answer1 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 Answer1 in org.mockito
Methods in org.mockito with parameters of type Answer1 Modifier and Type Method Description static <T,A>
Answer<T>AdditionalAnswers. answer(Answer1<T,A> answer)
Creates an answer from a functional interface - allows for a strongly typed answer to be created ideally in Java 8 -
Uses of Answer1 in org.mockito.internal.stubbing.answers
Methods in org.mockito.internal.stubbing.answers with parameters of type Answer1 Modifier and Type Method Description static <T,A>
Answer<T>AnswerFunctionalInterfaces. toAnswer(Answer1<T,A> answer)
Construct an answer from a two parameter answer interface
-