@Test
@Parameters(method = "params")
public void testConfigurePartialResponse(Params params) {

  JacksonRequestParamFilter subject = new JacksonRequestParamFilter(params.scopedUriInfo());
  ObjectMapper mapper = subject.configurePartialResponse(new ObjectMapper());
  if (params.matcher.isPresent()) {
    assertConfiguredWithMatcher(mapper, params.matcher.get());
  } else {
    assertConfiguredWithoutMatcher(mapper);
  }
}