### Question:
ApproxStringIntMap implements Iterable<Pair<String, Integer>> { public int size() { return map.size(); } 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 testSize() { assertEquals(0, asim.size()); asim.put("moo", 1); assertEquals(1, asim.size()); }