EmbeddedCacheManager cm = createLocalCacheManager(false);
org.infinispan.config.Configuration c = new org.infinispan.config.Configuration();
c.setL1CacheEnabled(false);
c.setL1OnRehash(false);
c.setTransactionManagerLookup(new GenericTransactionManagerLookup());
c.setIsolationLevel(IsolationLevel.NONE);
org.infinispan.config.Configuration oneCacheConfiguration = cm.defineConfiguration("oneCache", c);
assert oneCacheConfiguration.equalsIgnoreName(c);
assert oneCacheConfiguration.getIsolationLevel().equals(IsolationLevel.NONE);