### Question:
ApproxStringIntMap implements Iterable<Pair<String, Integer>> { public boolean containsKey(String key) { return map.containsKey(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 testContainsKey() { assertFalse(asim.containsKey("moo")); asim.put("moo", 1); assertTrue(asim.containsKey("moo")); assertFalse(asim.containsKey("far")); asim.put("erk", 7); assertTrue(asim.containsKey("moo")); assertTrue(asim.containsKey("erk")); assertFalse(asim.containsKey("far")); }