### Question:
SpringCache2kCacheManager implements CacheManager { public SpringCache2kCacheManager defaultSetup( Function<Cache2kBuilder<?, ?>, Cache2kBuilder<?, ?>> f) { defaultSetup = f; return this; } SpringCache2kCacheManager();  SpringCache2kCacheManager(String name);  SpringCache2kCacheManager(org.cache2k.CacheManager manager); @Override SpringCache2kCache getCache(String name); SpringCache2kCacheManager defaultSetup(
    Function<Cache2kBuilder<?, ?>, Cache2kBuilder<?, ?>> f); @SafeVarargs final SpringCache2kCacheManager addCaches(
    Function<Cache2kBuilder<?, ?>, Cache2kBuilder<?, ?>>... fs); void setCaches(Collection<Cache2kConfiguration<?, ?>> cacheConfigurationList); @Override Collection<String> getCacheNames(); Collection<String> getConfiguredCacheNames(); org.cache2k.CacheManager getNativeCacheManager(); Map<String, SpringCache2kCache> getCacheMap(); boolean isAllowUnknownCache(); void setAllowUnknownCache(boolean v); static final String DEFAULT_SPRING_CACHE_MANAGER_NAME; }### Answer:
@Test public void testDefaultSetup() { SpringCache2kCacheManager m = new SpringCache2kCacheManager( SpringCache2KCacheManagerTest.class.getSimpleName() + "defaultSetup"); m.defaultSetup(b -> b.name("cache1")); m.addCaches(b -> b, b -> b.name("cache2")); assertNotNull(m.getCache("cache1")); assertNotNull(m.getCache("cache2")); }