final Bob1[] bob1s = new Bob1[1];
bob1s[0] = new Bob1();
bob1s[0].setVal(15);
final Bob1 bob1 = new Bob1();
bob1.setVal(20);
final ForThisTest forThisTest = new ForThisTest(bob1s, bob1);
assertEquals("bad value", 15,
((Bob1) forThisTest.getObject1()).getVal());
assertEquals("bad value", 20,
((Bob1) forThisTest.getObject2()).getVal());
final IDataAccessSession session = filePersistence
.createDataAccessSession();
session.open();
session.setObject(KEY, forThisTest);
session.close(EnumFilePersistenceCloseAction.SAVE);