public void testStringUnlink() throws StoreException,
StoreInvalidClassException, StoreNotSerializableException,
StoreClassNotFoundException, StoreDataCorruptedException,
HeapException, StoreTooBigForSerializationException {// NOPMD
final String string = "hello";
final BobString bob = new BobString();
bob.setString(string);
store.setRoot(bob);
store.save(true, false);
// store.checkIntegrity();
DATA_MANAGER_INTEGRITY_CHECKER.checkIntegrity(dataManager);
final BobString read = (BobString) store.readAndGetRoot();
read.setString(null);
store.save(true, false);
// store.checkIntegrity();
DATA_MANAGER_INTEGRITY_CHECKER.checkIntegrity(dataManager);
assertNotNull("root must be defined", store.readAndGetRoot());// for
// PMD