ImcacheCache implements org.springframework.cache.Cache { public Object getNativeCache() { return cache; } @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 getNativeCache() { assertEquals(cache, imcache.getNativeCache()); }