Analysis { public Set<FrequencySource> getFrequencySources() { return frequencySources; } private  Analysis(Builder builder); Path getVcfPath(); GenomeAssembly getGenomeAssembly(); Pedigree getPedigree(); String getProbandSampleName(); InheritanceModeOptions getInheritanceModeOptions(); List<String> getHpoIds(); AnalysisMode getAnalysisMode(); Set<FrequencySource> getFrequencySources(); Set<PathogenicitySource> getPathogenicitySources(); List<AnalysisStep> getAnalysisSteps(); @JsonIgnore PriorityType getMainPrioritiserType(); @JsonIgnore List<List<AnalysisStep>> getAnalysisStepsGroupedByFunction(); @JsonCreator static Builder builder(); Builder copy(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }
@Test public void testFrequencySourcesAreEmptyByDefault() { assertThat(DEFAULT_ANALYSIS.getFrequencySources().isEmpty(), is(true)); }
@Test public void canSpecifyFrequencySources() { Set<FrequencySource> sources = EnumSet.allOf(FrequencySource.class); Analysis instance = newBuilder() .frequencySources(sources) .build(); assertThat(instance.getFrequencySources(), equalTo(sources)); }