private PersistenceTestBean beanC;
@Before
public void init() throws Exception {
File tmpDir = FileHelper.createTempDirectory();
DefaultPersistenceIndex persistenceIndex =
new DefaultPersistenceIndex(tmpDir, new DefaultObjectPersistenceBackend());
persistence = new DefaultPersistenceService(tmpDir, new DefaultObjectPersistenceBackend(), persistenceIndex);
beanA = new PersistenceTestBean("A", 1, null);
beanA.setTestEnum(TestEnum.A);
beanB = new PersistenceTestBean("B", 1, null);