is it possible to pass the type of an interface with generics?
The interface:
public interface AsyncCallback
In my test me
There is a type-safe way: use ArgumentMatchers.any() and qualify it with the type:
ArgumentMatchers.any()
ArgumentMatchers.>any()