// dummy data record identifier for object
final DataRecordIdentifier dataRecordIdentifier =
/**/getOrCreateDataRecordIdentifierAssociatedToObject(objectAndPersistInfo);
// create the object by reading
final IObjectInput objectInput = new ObjectInputImmediateSerializable(
this, classInfoFactory, proxyManager2, helperBinaryConversion);
final StorageInfo storageInfo = new StorageInfo();
// storageInfo.setHeaderDataSize(0);
ObjectAndPersistInfo unserializedAndPersistInfo = objectInput
.createObject(dataRecordIdentifier, binary, classInfo,
storageInfo);
originalValue = unserializedAndPersistInfo.originalValue;
assertSons(toSerialize, originalValue, referenceds);
final Object unserialized = unserializedAndPersistInfo.getObject();