@Test(expected = NullPointerException.class) public void updateGeneSymbolNotYetStoredThrowsException() { this.builder.update(GENE_2_ID, this.term1); }
void update(@Nonnull final String geneId, @Nonnull final VocabularyTerm term) { Validate.notNull(term, "The vocabulary term must not be null."); this.termsForGeneMap.get(geneId).addTerm(term); }
TermsForGeneBuilder { void update(@Nonnull final String geneId, @Nonnull final VocabularyTerm term) { Validate.notNull(term, "The vocabulary term must not be null."); this.termsForGeneMap.get(geneId).addTerm(term); } }
TermsForGeneBuilder { void update(@Nonnull final String geneId, @Nonnull final VocabularyTerm term) { Validate.notNull(term, "The vocabulary term must not be null."); this.termsForGeneMap.get(geneId).addTerm(term); } TermsForGeneBuilder(@Nullable final Collection<String> excludedGenes); }
TermsForGeneBuilder { void update(@Nonnull final String geneId, @Nonnull final VocabularyTerm term) { Validate.notNull(term, "The vocabulary term must not be null."); this.termsForGeneMap.get(geneId).addTerm(term); } TermsForGeneBuilder(@Nullable final Collection<String> excludedGenes);  }
TermsForGeneBuilder { void update(@Nonnull final String geneId, @Nonnull final VocabularyTerm term) { Validate.notNull(term, "The vocabulary term must not be null."); this.termsForGeneMap.get(geneId).addTerm(term); } TermsForGeneBuilder(@Nullable final Collection<String> excludedGenes);   }