How to mock methods with functional interface parameters?

Viewed 9609

In Mockito, how can I mock a method that takes a functional interface as a method parameter? For example:

String foo(String m, Function<Double, Options> r) {}

1 Answers
Related