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