mock ParameterizedTypeReference

Java
eq(new ParameterizedTypeReference<SearchResultsDTO<SolrDocumentDTO>>() {}))
Source

Also in Java: