PurpleQC { public abstract int deletedGenes();  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 testDeletedGenes() { assertStatus(builder().deletedGenes(PurpleQC.MAX_DELETED_GENES), PurpleQCStatus.PASS); assertStatus(builder().deletedGenes(PurpleQC.MAX_DELETED_GENES + 1), PurpleQCStatus.WARN_DELETED_GENES); }