@Test
 public void cacheManagerFromSupportBackOff() {
   load(CustomCacheManagerFromSupportConfiguration.class);
   ConcurrentMapCacheManager cacheManager = validateCacheManager(ConcurrentMapCacheManager.class);
   assertThat(cacheManager.getCacheNames(), contains("custom1"));
   assertThat(cacheManager.getCacheNames(), hasSize(1));
 }
 @Test
 public void simpleCacheExplicitWithCacheNames() {
   load(
       DefaultCacheConfiguration.class,
       "spring.cache.type=simple",
       "spring.cache.cacheNames[0]=foo",
       "spring.cache.cacheNames[1]=bar");
   ConcurrentMapCacheManager cacheManager = validateCacheManager(ConcurrentMapCacheManager.class);
   assertThat(cacheManager.getCacheNames(), containsInAnyOrder("foo", "bar"));
   assertThat(cacheManager.getCacheNames(), hasSize(2));
 }
 @Test
 public void simpleCacheExplicit() {
   load(DefaultCacheConfiguration.class, "spring.cache.type=simple");
   ConcurrentMapCacheManager cacheManager = validateCacheManager(ConcurrentMapCacheManager.class);
   assertThat(cacheManager.getCacheNames(), empty());
 }