@Test
public void testAutosomalDominantIndividual() {

    List<Allele> alleles = buildAlleles("A", "T");
    Genotype genotype = buildPhasedSampleGenotype("Adam", alleles.get(0), alleles.get(1));
    VariantContext variantContext = buildVariantContext(1, 12345, alleles, genotype);
    VariantEvaluation variant = filteredVariant(1, 12345, "A", "T", FilterResult.pass(FilterType.FREQUENCY_FILTER), variantContext);
    Pedigree pedigree = singleAffectedSample("Adam");
    InheritanceModeAnnotator instance = new InheritanceModeAnnotator(pedigree, InheritanceModeOptions.defaults());
    Map<ModeOfInheritance, List<VariantEvaluation>> results = instance.computeCompatibleInheritanceModes(ImmutableList.of(variant));
    Map<ModeOfInheritance, List<VariantEvaluation>> expected = ImmutableMap.of(
            ModeOfInheritance.AUTOSOMAL_DOMINANT, ImmutableList.of(variant)
    );
    assertThat(results, equalTo(expected));
}