StoredSortedMap other =
(StoredSortedMap) StoredCollections.dirtyReadMap(map);
assertTrue(other.isDirtyReadEnabled());
assertTrue(((StoredContainer) other.values()).isDirtyReadEnabled());
assertTrue(((StoredContainer) other.keySet()).isDirtyReadEnabled());
assertTrue(((StoredContainer) other.entrySet()).isDirtyReadEnabled());
assertTrue(!map.isDirtyReadEnabled());
assertTrue(!((StoredContainer) map.values()).isDirtyReadEnabled());
assertTrue(!((StoredContainer) map.keySet()).isDirtyReadEnabled());
assertTrue(!((StoredContainer) map.entrySet()).isDirtyReadEnabled());