Integer firstField = Integer.valueOf(1);
bob.setObject(firstField);// first field
bob.setValue(1);// second field
bob.setBoolean1(Boolean.TRUE);// third field
final ObjectAndPersistInfo objectAndItsPersistInfo = createObjectAndItsPersistInfo(bob);
WriteResult writeResult = write(objectAndItsPersistInfo);
assertValueChangeForFirstWrite(writeResult);
assertType(new int[] { HelperBinaryConversion.REFERENCE_TYPE,
HelperBinaryConversion.INTEGER_TYPE,
HelperBinaryConversion.BOOLEAN_TYPE }, writeResult);
assertReferencedSons(new Class[] { Object.class },