@Test public void testHumanPhenotypeOntologySuggestTermsIsId() throws ComponentLookupException, SolrServerException, IOException { QueryResponse response = mock(QueryResponse.class); when(this.server.query(any(SolrParams.class))).thenReturn(response); when(response.getSpellCheckResponse()).thenReturn(null); when(response.getResults()).thenReturn(new SolrDocumentList()); this.mocker.getComponentUnderTest().search("HP:0001", 0, null, null); verify(this.server).query(argThat(new IsIdQuery())); }
@Override public List<VocabularyTerm> search(String input, int maxResults, String sort, String customFilter) { return search(input, CATEGORY_PHENOTYPE, maxResults, sort, customFilter); }
HumanPhenotypeOntology extends AbstractOBOSolrVocabulary { @Override public List<VocabularyTerm> search(String input, int maxResults, String sort, String customFilter) { return search(input, CATEGORY_PHENOTYPE, maxResults, sort, customFilter); } }
HumanPhenotypeOntology extends AbstractOBOSolrVocabulary { @Override public List<VocabularyTerm> search(String input, int maxResults, String sort, String customFilter) { return search(input, CATEGORY_PHENOTYPE, maxResults, sort, customFilter); }  }
HumanPhenotypeOntology extends AbstractOBOSolrVocabulary { @Override public List<VocabularyTerm> search(String input, int maxResults, String sort, String customFilter) { return search(input, CATEGORY_PHENOTYPE, maxResults, sort, customFilter); }  @Override String getDefaultSourceLocation(); @Override String getIdentifier(); @Override String getName(); @Override Collection<String> getSupportedCategories(); @Override Set<String> getAliases(); @Override String getWebsite(); @Override String getCitation(); @Override List<VocabularyTerm> search(String input, int maxResults, String sort, String customFilter); @Override List<VocabularyTerm> search(String input, String category, int maxResults, String sort, String customFilter); }
HumanPhenotypeOntology extends AbstractOBOSolrVocabulary { @Override public List<VocabularyTerm> search(String input, int maxResults, String sort, String customFilter) { return search(input, CATEGORY_PHENOTYPE, maxResults, sort, customFilter); }  @Override String getDefaultSourceLocation(); @Override String getIdentifier(); @Override String getName(); @Override Collection<String> getSupportedCategories(); @Override Set<String> getAliases(); @Override String getWebsite(); @Override String getCitation(); @Override List<VocabularyTerm> search(String input, int maxResults, String sort, String customFilter); @Override List<VocabularyTerm> search(String input, String category, int maxResults, String sort, String customFilter);  }