8384858687888990919293
n++; } assertEquals(hm.size(), n); assertEquals(hm.size(), cs.size()); assertEquals(cm.size(), cs.size()); cs.clear(); assertEquals(0, cs.size()); assertEquals(0, cm.size()); try { cs.add("test"); fail("keySet() allows adding new keys");