FilePersistenceClassNotFoundException,
FilePersistenceDataCorruptedException,
FilePersistenceTooBigForSerializationException {
final IDataAccessSession session = filePersistence
.createDataAccessSession();
ArraySerializable arraySerializable;
session.open();
arraySerializable = new ArraySerializable();
Bob1[] bob1s = new Bob1[1];
bob1s[0] = new Bob1();
bob1s[0].setVal(10);
arraySerializable.setArray(bob1s);
session.setObject(KEY, arraySerializable);
session.close(EnumFilePersistenceCloseAction.SAVE);
session.open();
arraySerializable = (ArraySerializable) session.getObject(KEY);
bob1s = (Bob1[]) arraySerializable.getArray();
assertEquals("bad value", 10, bob1s[0].getVal());
}