globalConfiguration.globalJmxStatistics().enable().mBeanServerLookup(new PerThreadMBeanServerLookup());
cm = TestCacheManagerFactory.createClusteredCacheManager(globalConfiguration, new ConfigurationBuilder());
String jmxDomain = cm.getCacheManagerConfiguration().globalJmxStatistics().domain();
ConfigurationBuilder localCache = config();
localCache.storeAsBinary().enable();
cm.defineConfiguration("local_cache1", localCache.build());
localCache.storeAsBinary().disable();
cm.defineConfiguration("local_cache2", localCache.build());
cm.getCache("local_cache1");