source: class JobInfoControllerTest  {
  
    private Cookie cookie;
  
    @Test
    public void testAdd() throws Exception {
  
target:     MultiValueMap<String, String> parameters = new LinkedMultiValueMap<String, String>();
      parameters.add("jobGroup", "1");
  
      MvcResult ret = mockMvc.perform(
          post("/jobinfo/pageList")
              .contentType(MediaType.APPLICATION_FORM_URLENCODED)
              //.content(paramsJson)
              .params(parameters)
              .cookie(cookie)
      ).andReturn();
  
      System.out.println(ret.getResponse().getContentAsString());
    }
  
  }