Why can i create a spy on a Consumer but not a Runnable?
I was writing tests for a method that takes in a Consumer and I found i was able to create a spy on this functional interface.
I was writing tests for a method that takes in a Consumer and I found i was able to create a spy on this functional interface.