182183184185186187188189190191192
map.put(key1, "value 1"); map.put(key2, "value 2"); map.put(key3, "value 3"); Set set = map.keySet(); assertTrue(set.size() == 3); Iterator iter = set.iterator(); while (iter.hasNext()) { Object test = iter.next();