AnalysisResults { public static Builder builder() { return new Builder(); } AnalysisResults(Builder builder); String getProbandSampleName(); List<String> getSampleNames(); List<Gene> getGenes(); List<VariantEvaluation> getVariantEvaluations(); @JsonIgnore List<GeneScore> getGeneScores(); @JsonIgnore List<GeneScore> getGeneScoresForMode(ModeOfInheritance modeOfInheritance); @JsonIgnore List<VariantEvaluation> getContributingVariants(); @JsonIgnore List<VariantEvaluation> getContributingVariantsForMode(ModeOfInheritance modeOfInheritance); @JsonIgnore List<VariantEvaluation> getUnAnnotatedVariantEvaluations(); @Override int hashCode(); @Override boolean equals(Object o); @Override String toString(); static Builder builder();  }
@Test public void testNotEquals() { AnalysisResults instance = AnalysisResults.builder().probandSampleName("wibble").build(); AnalysisResults other = AnalysisResults.builder().probandSampleName("wibble").sampleNames(ImmutableList.of("Fred", "Wilma")).build(); assertThat(instance, not(equalTo(other))); }
@Test public void testString() { AnalysisResults instance = AnalysisResults.builder().probandSampleName("Zaphod_Beeblebrox").build(); System.out.println(instance); }