### Question:
AllThesaurus extends Thesaurus { @Override public synchronized QueryResultsTable performRequest(final String query) throws IOException, MalformedQueryException, QueryEvaluationException, AccessDeniedException { final Map<Thesaurus, QueryResultsTable> allResults = Maps.newIdentityHashMap(); onThesauri(null, new Function<Thesaurus, Void>() { @Nullable @Override public Void apply(@Nonnull Thesaurus input) { final QueryResultsTable queryResultsTable; try { queryResultsTable = input.performRequest(query); if (queryResultsTable.getRowCount() > 0) { allResults.put(input, queryResultsTable); } } catch (IOException | AccessDeniedException | QueryEvaluationException | MalformedQueryException e) { throw new RuntimeException(e); } return null; } }); return new AllQueryResultsTable(allResults); } AllThesaurus(ThesaurusFinder thesaurusFinder, IsoLanguagesMapper isoLangMapper, String siteUrl); static String buildKeywordUri(KeywordBean actualWord); @Override String getKey(); @Override String getDname(); @Override String getFname(); @Override Path getFile(); @Override String getType(); @Override String getTitle(); @Override String getDate(); @Override String getDownloadUrl(); @Override String getKeywordUrl(); @Override void retrieveThesaurusTitle(); @Override synchronized LocalRepository getRepository(); @Override synchronized Thesaurus setRepository(LocalRepository repository); @Override synchronized Thesaurus initRepository(); @Override synchronized QueryResultsTable performRequest(final String query); @Override boolean hasConceptScheme(String uri); @Override synchronized URI addElement(KeywordBean keyword); @Override synchronized Thesaurus removeElement(KeywordBean keyword); @Override synchronized Thesaurus removeElement(String namespace, String code); @Override synchronized Thesaurus removeElement(String uri); @Override synchronized URI updateElement(KeywordBean keyword, boolean replace); @Override synchronized boolean isFreeCode(final String namespace, final String code); @Override Thesaurus updateCode(KeywordBean bean, String newcode); @Override synchronized Thesaurus updateCode(String namespace, String oldcode, String newcode); @Override synchronized Thesaurus updateCodeByURI(String olduri, String newuri); @Override void addTitleElement(String thesaurusTitle); @Override IsoLanguagesMapper getIsoLanguageMapper(); @Override synchronized void addRelation(String subject, KeywordRelation related, String relatedSubject); @Override KeywordBean getKeyword(String uri, String... languages); @Override boolean hasKeyword(String uri); @Override List<KeywordBean> getRelated(final String uri, final KeywordRelation request, final String... languages); @Override boolean hasKeywordWithLabel(final String label, final String langCode); @Override KeywordBean getKeywordWithLabel(final String label, final String langCode); @Override synchronized void clear(); @Nonnull @Override FileTime getLastModifiedTime(); @Override String getDefaultNamespace(); static final String FNAME; static final String SEPARATOR; static final String ALL_THESAURUS_KEY; }### Answer:
@Test public void testPerformRequest() throws Exception { KeywordSearchParamsBuilder builder = new KeywordSearchParamsBuilder(isoLangMapper); builder.addLang("eng").maxResults(10).addThesaurus(AllThesaurus.ALL_THESAURUS_KEY); final List<KeywordBean> search = builder.build().search(this.thesaurusFinder); assertEquals(10, search.size()); for (KeywordBean keywordBean : search) { assertAllKeywordBean(keywordBean); } }