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