+ "ExcludedTypes=org.apache.openjpa.persistence.cache.jpa.model.UncacheableEntity)");
props.put("openjpa.RemoteCommitProvider", "sjvm");
if (emf == null) {
emf = createEntityManagerFactory("cache-mode-all", props);
assertNotNull(emf);
ConcurrentDataCache dataCache =
(ConcurrentDataCache) emf.getConfiguration().getDataCacheManagerInstance().getDataCache("default");
assertNotNull(dataCache);
assertEquals(5000, dataCache.getCacheSize());
assertEquals("org.apache.openjpa.persistence.cache.jpa.DataCacheTestExtension(CacheSize=5000, "
+ "ExcludedTypes=org.apache.openjpa.persistence.cache.jpa.model.UncacheableEntity)", emf
.getConfiguration().getDataCache());
cache = emf.getCache();
assertNotNull(cache);