ImcacheCache implements org.springframework.cache.Cache { public void put(Object key, Object value) { cache.put(key, value); } @SuppressWarnings("unchecked")  ImcacheCache(final Cache<Object, Object> cache); String getName(); Object getNativeCache(); ValueWrapper get(Object key); void put(Object key, Object value); void evict(Object key); void clear(); @SuppressWarnings("unchecked") T get(Object key, Class<T> clazz);  }
@Test public void put() { imcache.put(1, 1); assertEquals(1, cache.get(1)); verify(cache).put(1, 1); }