Code example for FormHttpMessageConverter

0
    assertThat(list(wrapper.getParameterNames()), hasItems("param1", "param2"));
    assertThat(wrapper.getParameterValues("param1"), is(new String[] {"value1", "value3"}));
  } 
 
  private FormEncodedHttpServletRequestWrapper wrap(MockHttpServletRequest request) {
    return new FormEncodedHttpServletRequestWrapper(request, new FormHttpMessageConverter());
  } 
} 
Connect your IDE to all the code out there  Get Codota for Java