FilePersistenceNotSerializableException,
FilePersistenceTooBigForSerializationException {
final IDataAccessSession dataAccessSession = filePersistence
.createDataAccessSession();
dataAccessSession.open();
final ClassOne301b classOne301b = (ClassOne301b) dataAccessSession
.getObject("object1");
assertNotNull("must be defined", classOne301b);
final Object field = classOne301b.getField();
assertEquals("bad field value", "field1", field);
assertEquals("bad field2 value", "field2", classOne301b.getField2());
assertEquals("bad transient field value", "transientField1",
classOne301b.getTransientField());
assertEquals("bad transient field2 value", "transientField2",
classOne301b.getTransientField2());
final ClassTwo301bReplacement classTwo301bReplacement = (ClassTwo301bReplacement) dataAccessSession
.getObject("object2");
assertEquals("bad firstField value", "f1",
classTwo301bReplacement.getFirstField());