### Question:
CacheInfoManager extends AbstractService implements ICacheInfoManager, PageChangedObserver { public void putInCache(String targetCache, String key, Object obj) { Cache cache = this.getCache(targetCache); cache.put(key, obj); }  @Override void init(); @Around("@annotation(cacheableInfo)") Object aroundCacheableMethod(ProceedingJoinPoint pjp, CacheableInfo cacheableInfo); @Around("@annotation(cacheInfoEvict)") Object aroundCacheInfoEvictMethod(ProceedingJoinPoint pjp, CacheInfoEvict cacheInfoEvict); void setExpirationTime(String targetCache, String key, int expiresInMinute); void setExpirationTime(String targetCache, String key, long expiresInSeconds); void setExpirationTime(String targetCache, String key, Date expirationTime); @Override void updateFromPageChanged(PageChangedEvent event); @Override void destroy(); void flushAll(); void flushAll(String cacheName); @Override void flushEntry(String targetCache, String key); void putInCache(String targetCache, String key, Object obj); void putInCache(String targetCache, String key, Object obj, String[] groups); @Override void putInGroup(String targetCache, String key, String[] groups); @Override void flushGroup(String targetCache, String group); @Override boolean isExpired(String targetCache, String key); Object getFromCache(String targetCache, String key); void setSpringCacheManager(CacheManager springCacheManager);  }### Answer:
@Test public void putInCache() { String targetCache = "targetCacheName3"; String cacheKey = "testkey3"; cacheInfoManager.putInCache(targetCache, cacheKey, "Some value"); Mockito.verify(cacheManager, Mockito.times(1)).getCache(targetCache); Mockito.verify(cache, Mockito.times(1)).put(cacheKey, "Some value"); }