is it possible to pass the type of an interface with generics?
The interface:
public interface AsyncCallback
In my test me
Further to thSoft's answer putting the qualified call to any() in method meant I could remove the qualification since the return type allowed inference:
private HashMap<String, String> anyStringStringHashMap() { return Matchers.any(); }