OntologyServiceImpl implements OntologyService { @Cacheable(value = "zpo") @Override public Set<PhenotypeTerm> getZpoTerms() { return zpoDao.getAllTerms(); } @Autowired  OntologyServiceImpl(HumanPhenotypeOntologyDao hpoDao, MousePhenotypeOntologyDao mpoDao, ZebraFishPhenotypeOntologyDao zpoDao); @Cacheable(value = "hpo") @Override Set<PhenotypeTerm> getHpoTerms(); @Cacheable(value = "mpo") @Override Set<PhenotypeTerm> getMpoTerms(); @Cacheable(value = "zpo") @Override Set<PhenotypeTerm> getZpoTerms(); @Override Set<PhenotypeMatch> getHpoMatchesForHpoTerm(PhenotypeTerm hpoTerm); @Override Set<PhenotypeMatch> getMpoMatchesForHpoTerm(PhenotypeTerm hpoTerm); @Override Set<PhenotypeMatch> getZpoMatchesForHpoTerm(PhenotypeTerm hpoTerm); @Override PhenotypeTerm getPhenotypeTermForHpoId(String hpoId); @Override List<String> getCurrentHpoIds(List<String> hpoIds);  }
@Test public void testGetZpoTerms() { assertThat(instance.getZpoTerms(), equalTo(zpoTerms)); }