Interface LambdaAnswer.ValueToReturn<T>

Enclosing class:
LambdaAnswer<T>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface LambdaAnswer.ValueToReturn<T>
Since:
1.6
Author:
Gary Russell, Artem Bilan
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(org.mockito.invocation.InvocationOnMock invocation, @Nullable T result)
     
  • Method Details

    • apply

      T apply(org.mockito.invocation.InvocationOnMock invocation, @Nullable T result)