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