### Question:
JobInfoController { @RequestMapping("/add") @ResponseBody public ReturnT<String> add(XxlJobInfo jobInfo) { return xxlJobService.add(jobInfo); }  @RequestMapping String index(Model model, @RequestParam(required = false, defaultValue = "-1") int jobGroup); @RequestMapping("/pageList") @ResponseBody Map<String, Object> pageList(@RequestParam(required = false, defaultValue = "0") int start,  
			@RequestParam(required = false, defaultValue = "10") int length,
			int jobGroup, String jobDesc, String executorHandler, String filterTime); @RequestMapping("/add") @ResponseBody ReturnT<String> add(XxlJobInfo jobInfo); @RequestMapping("/update") @ResponseBody ReturnT<String> update(XxlJobInfo jobInfo); @RequestMapping("/remove") @ResponseBody ReturnT<String> remove(int id); @RequestMapping("/stop") // TODO, pause >> stop @ResponseBody ReturnT<String> pause(int id); @RequestMapping("/start") // TODO, resume >> start @ResponseBody ReturnT<String> start(int id); @RequestMapping("/trigger") @ResponseBody //@PermessionLimit(limit = false) ReturnT<String> triggerJob(int id, String executorParam);  }### Answer:
@Test public void testAdd() throws Exception { MultiValueMap<String, String> parameters = new LinkedMultiValueMap<String, String>(); parameters.add("jobGroup", "1"); MvcResult ret = mockMvc.perform( post("/jobinfo/pageList") .contentType(MediaType.APPLICATION_FORM_URLENCODED) .params(parameters) .cookie(cookie) ).andReturn(); System.out.println(ret.getResponse().getContentAsString()); }