### Question:
ApproxStringIntMap implements Iterable<Pair<String, Integer>> { public int remove(String key) { return map.remove(hash(key)); } ApproxStringIntMap(StringStack dictionary); int size(); boolean isEmpty(); boolean containsKey(String key); int get(String key); int put(String key, int value); int addTo(String key, int amount); int remove(String key); void clear(); Iterator<Pair<String, Integer>> iterator();  }### Answer:
@Test public void testRemove() { asim.put("moo", 1); asim.put("far", 2); assertTrue(asim.containsKey("far")); asim.remove("far"); assertFalse(asim.containsKey("far")); }