diff options
Diffstat (limited to 'src/test/java/com/fasterxml/jackson/databind/introspect/IntrospectorPairTest.java')
-rw-r--r-- | src/test/java/com/fasterxml/jackson/databind/introspect/IntrospectorPairTest.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/test/java/com/fasterxml/jackson/databind/introspect/IntrospectorPairTest.java b/src/test/java/com/fasterxml/jackson/databind/introspect/IntrospectorPairTest.java index a862713a7..16f1be8a1 100644 --- a/src/test/java/com/fasterxml/jackson/databind/introspect/IntrospectorPairTest.java +++ b/src/test/java/com/fasterxml/jackson/databind/introspect/IntrospectorPairTest.java @@ -119,8 +119,8 @@ public class IntrospectorPairTest extends BaseMapTest } @Override - public JsonIgnoreProperties.Value findPropertyIgnorals(Annotated a) { - return (JsonIgnoreProperties.Value) values.get("findPropertyIgnorals"); + public JsonIgnoreProperties.Value findPropertyIgnoralByName(MapperConfig<?> config, Annotated a) { + return (JsonIgnoreProperties.Value) values.get("findPropertyIgnoralByName"); } @Override @@ -285,14 +285,14 @@ public class IntrospectorPairTest extends BaseMapTest { JsonIgnoreProperties.Value incl = JsonIgnoreProperties.Value.forIgnoredProperties("foo"); IntrospectorWithMap intr = new IntrospectorWithMap() - .add("findPropertyIgnorals", incl); + .add("findPropertyIgnoralByName", incl); IntrospectorWithMap intrEmpty = new IntrospectorWithMap() - .add("findPropertyIgnorals", JsonIgnoreProperties.Value.empty()); + .add("findPropertyIgnoralByName", JsonIgnoreProperties.Value.empty()); assertEquals(JsonIgnoreProperties.Value.empty(), - new AnnotationIntrospectorPair(intrEmpty, intrEmpty).findPropertyIgnorals(null)); + new AnnotationIntrospectorPair(intrEmpty, intrEmpty).findPropertyIgnoralByName(null, null)); // should actually verify inclusion combining, but there are separate tests for that - assertEquals(incl, new AnnotationIntrospectorPair(intrEmpty, intr).findPropertyIgnorals(null)); - assertEquals(incl, new AnnotationIntrospectorPair(intr, intrEmpty).findPropertyIgnorals(null)); + assertEquals(incl, new AnnotationIntrospectorPair(intrEmpty, intr).findPropertyIgnoralByName(null, null)); + assertEquals(incl, new AnnotationIntrospectorPair(intr, intrEmpty).findPropertyIgnoralByName(null, null)); } public void testIsIgnorableType() throws Exception |