@Test
public void testModeOfInheritance() {

    ModeOfInheritance modeOfInheritance = ModeOfInheritance.AUTOSOMAL_DOMINANT;
    instance = builder.modeOfInheritance(modeOfInheritance).build();
    assertThat(instance.getModeOfInheritance(), equalTo(modeOfInheritance));
}