JacksonMatcherFilter extends SimpleBeanPropertyFilter { public Matcher getMatcher() { return matcher; } JacksonMatcherFilter(Matcher matcher); Matcher getMatcher(); @Override void serializeAsField(Object pojo, JsonGenerator jGen, SerializerProvider provider, PropertyWriter writer);  }
@Test public void testGetMatcher() { Matcher matcher = Matcher.of("foo/bar"); assertSame(matcher, new JacksonMatcherFilter(matcher).getMatcher()); }