ImcacheCacheManager implements CacheManager, InitializingBean { public Cache getCache(final String name) { return caches .computeIfAbsent(name, (cacheName) -> new ImcacheCache(cacheBuilder.build(cacheName))); } ImcacheCacheManager();  ImcacheCacheManager(BaseCacheBuilder cacheBuilder); Cache getCache(final String name); Collection<String> getCacheNames(); void afterPropertiesSet(); BaseCacheBuilder getCacheBuilder(); void setCacheBuilder(BaseCacheBuilder cacheBuilder);  }
@Test public void getCache() { assertEquals(cache, cacheManager.getCache(cacheName).getNativeCache()); }