private static String EVICT_THREAD_NAME_PREFIX = EvictionThreadCountTest.class.getSimpleName() + "-thread";
@Override
protected EmbeddedCacheManager createCacheManager() throws Exception {
GlobalConfigurationBuilder globalCfg = new GlobalConfigurationBuilder();
globalCfg
.evictionScheduledExecutor()
.addProperty("threadNamePrefix", EVICT_THREAD_NAME_PREFIX)
.build();
return TestCacheManagerFactory.createCacheManager(globalCfg, new ConfigurationBuilder());
}