private DocumentRetriever createDocumentRetriever(ClientParameters params, ClusterList clusterList) {
        return new DocumentRetriever(
                clusterList,
                mockedFactory,
                params);
    }
Test class for {@link DocumentRetriever}

@author bjorncs
vespaclient-java/src/test/java/com/yahoo/vespaget/DocumentRetrieverTest.java