CacheableApplicationContextResolverImpl extends ApplicationContextResolverImpl implements InitializingBean, DisposableBean { public void setCacheManager(CacheManager cacheManager) { this.cacheManager = cacheManager; }  void setCacheManager(CacheManager cacheManager); @Override ApplicationContext resolveApplicationContext(
            BatchJobData batchJobData); @Override void closeApplicationContext(ApplicationContext applicationContext); @Override void afterPropertiesSet(); @Override void destroy(); static final String BLOGIC_CONTEXT_CACHE_KEY; }
@Test public void testSetCacheManager01() throws Exception { CacheableApplicationContextResolverImpl target = new CacheableApplicationContextResolverImpl(); CacheManager cacheManager = mock(CacheManager.class); target.setCacheManager(cacheManager); assertThat(target.cacheManager, is(cacheManager)); }