@Test
 public void genericCacheExplicitWithCaches() {
   load(GenericCacheConfiguration.class, "spring.cache.type=generic");
   SimpleCacheManager cacheManager = validateCacheManager(SimpleCacheManager.class);
   assertThat(cacheManager.getCache("first"), equalTo(this.context.getBean("firstCache")));
   assertThat(cacheManager.getCache("second"), equalTo(this.context.getBean("secondCache")));
   assertThat(cacheManager.getCacheNames(), hasSize(2));
 }