@Test
public void testToString() {

    InheritanceFilter instance = new InheritanceFilter(EnumSet.of(ModeOfInheritance.AUTOSOMAL_RECESSIVE));
    assertThat(instance.toString(), equalTo("InheritanceFilter{compatibleModes=[AUTOSOMAL_RECESSIVE]}"));
}