@Test
public void testEncodeEmptyValue() throws Exception {

  RequestParamsExtractor<Integer> extractor =
      getMockExtractor(1, Collections.singletonMap("param1", ""));
  RequestUrlParamsEncoder<Integer> encoder = new RequestUrlParamsEncoder<>(extractor, false);
  String encodedParams = encoder.encode(1);
  assertEquals("param1=", encodedParams);
}