@Test
public void testGetModeOfInheritance() {

    Set<ModeOfInheritance> desiredInheritanceMode = EnumSet.of(ModeOfInheritance.AUTOSOMAL_DOMINANT);
    InheritanceFilter instance = new InheritanceFilter(desiredInheritanceMode);
    assertThat(instance.getCompatibleModes(), equalTo(desiredInheritanceMode));
}