### Question:
ApproxStringIntMap implements Iterable<Pair<String, Integer>> { public boolean isEmpty() { return size() == 0; } 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 testIsEmpty() { assertTrue(asim.isEmpty()); asim.put("moo", 1); assertFalse(asim.isEmpty()); }