.writeBody(binary, offset/*
* bodyBeginOffset for class id
*/, objectAndItsClassInfo, false/* updateOriginalValue */);
// dummy data record identifier for object
final DataRecordIdentifier dataRecordIdentifier = DataRecordIdentifier.LAST;
final IObjectInput objectInput = new ObjectInputForBasic(this,
classInfoFactory, proxyManager2, helperBinaryConversion);
final Integer created = (Integer) objectInput.createObject(
dataRecordIdentifier, binary, classInfo, storageInfo)
.getObject();
assertEquals("read and wrote must have the same value", integer,
created);
}