@Override
    public boolean add(final Integer value) {
        return add(value.intValue());
    }
@Test
    public void failsWhenOverCapacity() {
        final IntHashSet set = new IntHashSet(1, 0);
        set.add(1);
        assertThrows(IllegalStateException.class, () -> set.add(2));
    }