@BeforeTest public void setUp() { // Use a clustered cache manager to be able to test global marshaller interaction too cm = TestCacheManagerFactory.createClusteredCacheManager(); cm.getDefaultConfiguration().fluent().clustering().mode(Configuration.CacheMode.DIST_SYNC); marshaller = extractCacheMarshaller(cm.getCache()); }