@Test
public void testParseAnalysisModeOfInheritanceMultipleModes() {

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