void () { ConcurrentMap<Object, Object> map = CollectionFactory.createConcurrentSoftMap(); map.put(this, this); Set<Map.Entry<Object, Object>> entries = map.entrySet(); assertEquals(1, entries.size()); Map.Entry<Object, Object> entry = entries.iterator().next(); entries.remove(entry); assertTrue(map.isEmpty()); }