@Test
public void testParseAnalysisModeOfInheritanceAutosomalDominant() {

    Analysis analysis = instance.parseAnalysis(
            "analysis:\n"
                    + "    vcf: test.vcf\n"
                    + "    inheritanceModes: {\n"
                    + "        AUTOSOMAL_DOMINANT: 0.1 \n"
                    + "}\n"
                    + "    ");
    Map<SubModeOfInheritance, Float> options = ImmutableMap.of(SubModeOfInheritance.AUTOSOMAL_DOMINANT, 0.1f);
    assertThat(analysis.getInheritanceModeOptions(), equalTo(InheritanceModeOptions.of(options)));
}