diff --git a/src/test/java/com/fasterxml/jackson/databind/deser/CustomDeserializers4225NullCacheTest.java b/src/test/java/com/fasterxml/jackson/databind/deser/CustomDeserializers4225NullCacheTest.java index 62cf951728..09be097f96 100644 --- a/src/test/java/com/fasterxml/jackson/databind/deser/CustomDeserializers4225NullCacheTest.java +++ b/src/test/java/com/fasterxml/jackson/databind/deser/CustomDeserializers4225NullCacheTest.java @@ -54,7 +54,7 @@ static class Bean4225 { @Test public void testGetNullValueIsCached() throws Exception { - ObjectMapper mapper = objectMapper(); + ObjectMapper mapper = newJsonMapper(); // First time deserializing null verifyGetNullValueInvokedTimes(mapper, 1);