@Test
@Parameters(method = "methods")
public void testFilterAllOutput(OverloadedFilterAllOutput method) {

  ObjectMapper mapper = method.filterAllOutput(new ObjectMapper(), "foo/bar");
  AnnotationIntrospector introspector = mapper.getSerializationConfig().getAnnotationIntrospector();
  Object filterId = introspector.findFilterId((Annotated) AnnotatedClass.construct(
      TestObject.class, introspector, mapper.getDeserializationConfig()));
  assertNotNull(filterId);
  PropertyFilter propertyFilter =
      mapper.getSerializationConfig().getFilterProvider().findPropertyFilter(filterId, new TestObject());
  assertNotNull(propertyFilter);
  assertTrue(propertyFilter instanceof JacksonMatcherFilter);
  assertEquals(Matcher.of("foo/bar"), ((JacksonMatcherFilter) propertyFilter).getMatcher());
}