Uses of Interface
org.mockito.stubbing.Answer2

Packages that use Answer2
Package
Description
Mockito is a mock library for java - see Mockito class for usage.
  • 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