@Test public void buildMakesEmptyListIfNoTermsStored() { final List<TermsForGene> termsForGenes = this.builder.build(); Assert.assertTrue(termsForGenes.isEmpty()); }
List<TermsForGene> build() { final List<TermsForGene> sortedTermsForGeneList = getSortedTermsForGeneList(); return Collections.unmodifiableList(sortedTermsForGeneList); }
TermsForGeneBuilder { List<TermsForGene> build() { final List<TermsForGene> sortedTermsForGeneList = getSortedTermsForGeneList(); return Collections.unmodifiableList(sortedTermsForGeneList); } }
TermsForGeneBuilder { List<TermsForGene> build() { final List<TermsForGene> sortedTermsForGeneList = getSortedTermsForGeneList(); return Collections.unmodifiableList(sortedTermsForGeneList); } TermsForGeneBuilder(@Nullable final Collection<String> excludedGenes); }
TermsForGeneBuilder { List<TermsForGene> build() { final List<TermsForGene> sortedTermsForGeneList = getSortedTermsForGeneList(); return Collections.unmodifiableList(sortedTermsForGeneList); } TermsForGeneBuilder(@Nullable final Collection<String> excludedGenes);  }
TermsForGeneBuilder { List<TermsForGene> build() { final List<TermsForGene> sortedTermsForGeneList = getSortedTermsForGeneList(); return Collections.unmodifiableList(sortedTermsForGeneList); } TermsForGeneBuilder(@Nullable final Collection<String> excludedGenes);   }