registerCacheManager(cacheManager1);
EmbeddedCacheManager cacheManager2 = TestCacheManagerFactory.createClusteredCacheManagerEnforceJmxDomain("SecondDefaultCacheManager", JMX_DOMAIN, true);
registerCacheManager(cacheManager2);
ConfigurationBuilder configuration = getDefaultClusteredCacheConfig(CacheMode.REPL_SYNC, true);
configuration.jmxStatistics().enable();
cacheManager1.defineConfiguration("test", configuration.build());
cacheManager2.defineConfiguration("test", configuration.build());
cache1 = cacheManager1.getCache("test");
cache2 = cacheManager2.getCache("test");
txInterceptor = getCacheObjectName(JMX_DOMAIN, "test(repl_sync)", "Transactions");