### Question:
Analysis { public AnalysisMode getAnalysisMode() { return analysisMode; } 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();  }### Answer:
@Test public void analysisModeDefaultsToPassOnly() { assertThat(DEFAULT_ANALYSIS.getAnalysisMode(), equalTo(AnalysisMode.PASS_ONLY)); }
@Test public void analysisCanSpecifyAlternativeAnalysisMode() { Analysis instance = newBuilder() .analysisMode(AnalysisMode.FULL) .build(); assertThat(instance.getAnalysisMode(), equalTo(AnalysisMode.FULL)); }