stats.getWriteCount());
}
public void testMultipleUnits() {
String[] props = {"openjpa.DataCache", "true", "openjpa.RemoteCommitProvider", "sjvm"};
OpenJPAEntityManagerFactory emf1 = createNamedEMF("test", props);
OpenJPAEntityManagerFactory emf2 = createNamedEMF("empty-pu", props);
assertNotSame(emf1, emf2);
assertNotSame(emf1.getStoreCache(), emf2.getStoreCache());
assertNotSame(emf1.getStoreCache().getStatistics(), emf2.getStoreCache().getStatistics());
assertNotSame(((StoreCacheImpl)emf1.getStoreCache()).getDelegate(),
((StoreCacheImpl)emf2.getStoreCache()).getDelegate());
}