@Test
public void testFilterGeneFailsTheInheritanceModes() {

    InheritanceFilter recessiveFilter = new InheritanceFilter(EnumSet.of(ModeOfInheritance.X_RECESSIVE, ModeOfInheritance.AUTOSOMAL_RECESSIVE));
    FilterResult filterResult = recessiveFilter.runFilter(compatibleWithAutosomalDominant);
    FilterTestHelper.assertFailed(filterResult);
}