public void testAlreadyLoaded() throws StoreException,
StoreInvalidClassException, StoreNotSerializableException,
StoreClassNotFoundException, StoreDataCorruptedException,
HeapException, StoreTooBigForSerializationException {
final Bob1 bob1 = new Bob1();
final Bob2 bob2 = new Bob2();
final Bob3 bob3 = new Bob3();
bob1.setBob2(bob2);
bob1.setBob3(bob3);
bob2.setBob3(bob3);
bob1.setVal(1);
bob2.setVal(2);
bob3.setVal(3);
store.setRoot(bob1);
store.save(true, false);
// store.checkIntegrity();
DATA_MANAGER_INTEGRITY_CHECKER.checkIntegrity(dataManager);
final Bob1 bob1Lu = (Bob1) store.readAndGetRoot();
assertNotNull(MUST_FIND_OBJECT, bob1Lu);
final Bob3 bob3Lu = bob1Lu.getBob3();
final Bob2 bob2Lu = bob1Lu.getBob2();
final Bob3 bob3LuBis = bob2Lu.getBob3();
assertEquals("value for read bob1 must be 1", 1, bob1Lu.getVal());
assertEquals("value for read bob2 must be 2", 2, bob2Lu.getVal());
assertEquals("value for read bob3 must be 3", 3, bob3Lu.getVal());
assertEquals("value for second read of bob3 must be 3", 3,
bob3LuBis.getVal());
bob3Lu.setVal(0);