public void testRestartWithStore() throws StoreException,
StoreInvalidClassException, StoreNotSerializableException,
StoreClassNotFoundException, StoreDataCorruptedException,
FileIOException, StoreTooBigForSerializationException,
TestException {
store = new StoreForTest(1, null,
TestConstant.getWinRamDiskRuntimeDir(), false/*
* garbage
* management
*/);
store.addToNotCheckMethod(Bob1.class);
store.openAndNewAccessSession(false/* remove files */);
store.setRoot(new Bob1());
store.save(true, false);
store.close();
assertDataAndBackupAreSame();
store = new StoreForTest(1, null,
TestConstant.getWinRamDiskRuntimeDir(), false/*
* garbage
* management
*/);
store.addToNotCheckMethod(Bob1.class);