4647484950515253545556
tc.put(key2, val2); assertEquals(2, tc.size()); assertEquals(val2, tc.get(key2)); tc.invalidate(key2); assertEquals(1, tc.size()); assertEquals(val1, tc.get(key1)); assertNull(tc.get(key2)); }