@Test public void getTermsReturnsEmptyCollectionWhenNoTermsProvided() { Assert.assertTrue(this.defaultTermsForGene.getTerms().isEmpty()); }
@Override public Set<VocabularyTerm> getTerms() { return Collections.unmodifiableSet(this.terms); }
DefaultTermsForGeneImpl implements TermsForGene { @Override public Set<VocabularyTerm> getTerms() { return Collections.unmodifiableSet(this.terms); } }
DefaultTermsForGeneImpl implements TermsForGene { @Override public Set<VocabularyTerm> getTerms() { return Collections.unmodifiableSet(this.terms); } DefaultTermsForGeneImpl(@Nonnull final String geneSymbol, @Nonnull final String geneId); }
DefaultTermsForGeneImpl implements TermsForGene { @Override public Set<VocabularyTerm> getTerms() { return Collections.unmodifiableSet(this.terms); } DefaultTermsForGeneImpl(@Nonnull final String geneSymbol, @Nonnull final String geneId); @Override int getCount(); @Override String getGeneId(); @Override String getGeneSymbol(); @Override Set<VocabularyTerm> getTerms(); @Override JSONObject toJSON(); }
DefaultTermsForGeneImpl implements TermsForGene { @Override public Set<VocabularyTerm> getTerms() { return Collections.unmodifiableSet(this.terms); } DefaultTermsForGeneImpl(@Nonnull final String geneSymbol, @Nonnull final String geneId); @Override int getCount(); @Override String getGeneId(); @Override String getGeneSymbol(); @Override Set<VocabularyTerm> getTerms(); @Override JSONObject toJSON();  }