@Test
public void testAutosomalDominantHetAltIndividual() {

    List<Allele> alleles = buildAlleles("A", "T", "C");
    Genotype proband = buildPhasedSampleGenotype("Cain", alleles.get(1), alleles.get(2));
    VariantContext variantContext = buildVariantContext(1, 12345, alleles, proband);
    VariantEvaluation alleleOne = filteredVariant(1, 12345, "A", "T", FilterResult.pass(FilterType.FREQUENCY_FILTER), variantContext);
    VariantEvaluation alleleTwo = filteredVariant(1, 12345, "A", "C", FilterResult.pass(FilterType.FREQUENCY_FILTER), variantContext);
    Pedigree pedigree = singleAffectedSample("Cain");
    InheritanceModeAnnotator instance = new InheritanceModeAnnotator(pedigree, InheritanceModeOptions.defaults());
    Map<SubModeOfInheritance, List<VariantEvaluation>> results = instance.computeCompatibleInheritanceSubModes(ImmutableList.of(alleleOne, alleleTwo));
    Map<SubModeOfInheritance, List<VariantEvaluation>> expected = ImmutableMap.of(
            SubModeOfInheritance.AUTOSOMAL_DOMINANT, ImmutableList.of(alleleOne, alleleTwo),
            SubModeOfInheritance.AUTOSOMAL_RECESSIVE_COMP_HET, ImmutableList.of(alleleOne, alleleTwo)
    );
    assertThat(results, equalTo(expected));
}