@Test public void getRejectedGenesReturnsEmptyCollectionWhenNoRejectedGenesStored() { when(this.patient.getFeatures()).thenReturn(null); when(this.patient.getData(GLOBAL_QUALIFIERS)).thenReturn(null); when(this.patient.getData(GENES)).thenReturn(null); final PatientDataAdapter dataAdapter = this.adapterBuilder.withRejectedGenes().build(); Assert.assertTrue(dataAdapter.getRejectedGenes().isEmpty()); }
Collection<VocabularyTerm> getRejectedGenes() { return Collections.unmodifiableSet(this.rejectedGenes); }
PatientDataAdapter { Collection<VocabularyTerm> getRejectedGenes() { return Collections.unmodifiableSet(this.rejectedGenes); } }
PatientDataAdapter { Collection<VocabularyTerm> getRejectedGenes() { return Collections.unmodifiableSet(this.rejectedGenes); } private  PatientDataAdapter(@Nonnull final AdapterBuilder builder); }
PatientDataAdapter { Collection<VocabularyTerm> getRejectedGenes() { return Collections.unmodifiableSet(this.rejectedGenes); } private  PatientDataAdapter(@Nonnull final AdapterBuilder builder);  }
PatientDataAdapter { Collection<VocabularyTerm> getRejectedGenes() { return Collections.unmodifiableSet(this.rejectedGenes); } private  PatientDataAdapter(@Nonnull final AdapterBuilder builder);   }