is it possible to pass the type of an interface with generics?
The interface:
public interface AsyncCallback<T>
In my test method:
Mockito.any(AsyncCallback.class)
Putting <ResponseX>
behind or for .class
didnt work.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…