There is a type-safe way: use ArgumentMatchers.any() and qualify it with the type:
ArgumentMatchers.<AsyncCallback<ResponseX>>any()
There is a type-safe way: use ArgumentMatchers.any() and qualify it with the type:
ArgumentMatchers.<AsyncCallback<ResponseX>>any()