public static void stopRegionFactory( InfinispanRegionFactory factory, CacheTestSupport testSupport) { testSupport.unregisterFactory(factory); factory.stop(); }
@BeforeTest public void prepareCacheManager() { cacheManager = CacheTestSupport.createTestCacheManager(); }
public static InfinispanRegionFactory startRegionFactory( ServiceRegistry serviceRegistry, CacheTestSupport testSupport) { InfinispanRegionFactory factory = startRegionFactory(serviceRegistry); testSupport.registerFactory(factory); return factory; }