@Test
public void testNotEqualOtherObject() {

    InheritanceFilter instance = new InheritanceFilter(EnumSet.of(ModeOfInheritance.AUTOSOMAL_DOMINANT));
    String string = "string";
    assertThat(instance.equals(string), is(false));
    assertThat(string.equals(instance), is(false));
}