diff --git a/org.springframework.context/src/test/java/org/springframework/cache/vendor/AbstractNativeCacheTest.java b/org.springframework.context/src/test/java/org/springframework/cache/vendor/AbstractNativeCacheTest.java index 55abdf165b..45832d66cc 100644 --- a/org.springframework.context/src/test/java/org/springframework/cache/vendor/AbstractNativeCacheTest.java +++ b/org.springframework.context/src/test/java/org/springframework/cache/vendor/AbstractNativeCacheTest.java @@ -63,7 +63,7 @@ public abstract class AbstractNativeCacheTest { assertNull(cache.get(key)); cache.put(key, value); - assertEquals(value, cache.get(key)); + assertEquals(value, cache.get(key).get()); } @Test