79808182838485868788
assertTrue(s, validKeys.remove(s)); } assertEquals(0, validKeys.size()); assertTrue(dict.containsKey("key2")); dict.clear(); } }
8081828384858687888990
assertTrue(s, validKeys.remove(s)); } assertEquals(0, validKeys.size()); assertTrue(dict.containsKey("key2")); assertFalse(dict.isEmpty()); dict.clear(); assertTrue(dict.isEmpty());