### Question:
MySetHashMap implements MySet<E> { @Override public void remove(E element) { map.delete(element); }  @Override void add(E element); @Override void remove(E element); @Override boolean isPresent(E element); @Override int size();  }### Answer:
@Test public void testRemove() { int n = set.size(); String element = "foo"; set.add(element); assertTrue(set.isPresent(element)); assertEquals(n + 1, set.size()); set.remove(element); assertFalse(set.isPresent(element)); assertEquals(n, set.size()); }