PurpleQC { public boolean pass() { return status().size() == 1 && status().contains(PurpleQCStatus.PASS); }  Set<PurpleQCStatus> status(); abstract FittedPurityMethod method(); boolean pass(); abstract int copyNumberSegments(); abstract int unsupportedCopyNumberSegments(); abstract int deletedGenes(); abstract double purity(); abstract double contamination(); @NotNull abstract Gender cobaltGender(); @NotNull abstract Gender amberGender(); @NotNull abstract Set<GermlineAberration> germlineAberrations(); @Override String toString();  }
@Test public void testDefault() { ImmutablePurpleQC.Builder template = builder(); assertTrue(template.build().pass()); assertStatus(template, PurpleQCStatus.PASS); }