assertTrue(!map.isDirtyReadEnabled());
assertTrue(!((StoredContainer) map.values()).isDirtyReadEnabled());
assertTrue(!((StoredContainer) map.keySet()).isDirtyReadEnabled());
assertTrue(!((StoredContainer) map.entrySet()).isDirtyReadEnabled());
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());
// auto-commit property should be inherited
assertTrue(!map.isAutoCommit());
assertTrue(!((StoredContainer) map.values()).isAutoCommit());
assertTrue(!((StoredContainer) map.keySet()).isAutoCommit());
assertTrue(!((StoredContainer) map.entrySet()).isAutoCommit());
other = (StoredSortedMap) StoredCollections.autoCommitMap(map);
assertTrue(other.isAutoCommit());
assertTrue(((StoredContainer) other.values()).isAutoCommit());
assertTrue(((StoredContainer) other.keySet()).isAutoCommit());
assertTrue(((StoredContainer) other.entrySet()).isAutoCommit());
assertTrue(!map.isAutoCommit());
assertTrue(!((StoredContainer) map.values()).isAutoCommit());
assertTrue(!((StoredContainer) map.keySet()).isAutoCommit());
assertTrue(!((StoredContainer) map.entrySet()).isAutoCommit());