@Test
public void testEncodeNoValidationSuccess() throws Exception {

  RequestParamsExtractor<Integer> extractor =
      getMockExtractor(1, ImmutableMap.of("param1", "value+1", "param2", "value+2+&"));
  RequestUrlParamsEncoder<Integer> encoder = new RequestUrlParamsEncoder<>(extractor, false);
  String encodedParams = encoder.encode(1);
  assertEquals("param1=value+1&param2=value+2+&", encodedParams);
}