return TestCacheManagerFactory.createCacheManager(builder);
}
public void testFilteredKeyLoad() throws CacheLoaderException {
CacheLoaderManager cacheLoaderManager = TestingUtil.extractComponent(cache, CacheLoaderManager.class);
CacheLoader loader = cacheLoaderManager.getCacheLoader();
AssertJUnit.assertNotNull(loader);
AssertJUnit.assertTrue(loader instanceof LuceneCacheLoader);
LuceneCacheLoader cacheLoader = (LuceneCacheLoader) loader;
cacheLoader.loadAllKeys(null);
}