@Test
public void testEquals() {

    InheritanceFilter dominantFilter = new InheritanceFilter(ModeOfInheritance.AUTOSOMAL_DOMINANT);
    InheritanceFilter otherDominantFilter = new InheritanceFilter(EnumSet.of(ModeOfInheritance.AUTOSOMAL_DOMINANT));
    assertThat(dominantFilter.equals(otherDominantFilter), is(true));
}