@Override
    public int hashCode() {
        int result = (includeValue ? 1 : 0);
        result = 31 * result + (key != null ? key.hashCode() : 0);
        return result;
    }
@Test
    public void testHashCode() {
        assertEquals(multiMapEventFilter.hashCode(), multiMapEventFilter.hashCode());
        assertEquals(multiMapEventFilter.hashCode(), multiMapEventFilterSameAttributes.hashCode());

        assumeDifferentHashCodes();
        assertNotEquals(multiMapEventFilter.hashCode(), multiMapEventFilterOtherIncludeValue.hashCode());
        assertNotEquals(multiMapEventFilter.hashCode(), multiMapEventFilterOtherKey.hashCode());
        assertNotEquals(multiMapEventFilter.hashCode(), multiMapEventFilterDefaultParameters.hashCode());
    }