@Test
public void testCanMakeAnalysisWithInheritanceModesFromMap() {

    Map<SubModeOfInheritance, Float> inheritanceMap = ImmutableMap.of(SubModeOfInheritance.AUTOSOMAL_RECESSIVE_COMP_HET, 2.0f);
    Analysis instance = newBuilder()
            .inheritanceModeOptions(inheritanceMap)
            .build();
    assertThat(instance.getInheritanceModeOptions(), equalTo(InheritanceModeOptions.of(inheritanceMap)));
}