### Question:
SystemWeb { @ApiOperation(value = "查询菜单列表", httpMethod = "POST", produces = MediaType.APPLICATION_JSON_VALUE) @RequestMapping(value = "/searchListMenu", method = RequestMethod.POST, produces = {"application/json"}) public MsgResponseBody<PageResponse<Menu>> searchListMenu(@RequestBody MenuListQueryRequest menuRequest) { return MsgResponseBody.success().setResult(menuService.searchListMenu(menuRequest)); }  @ApiOperation(value = "获取菜单", httpMethod = "POST", produces = MediaType.APPLICATION_JSON_VALUE) @RequestMapping(value = "/getMenu", method = RequestMethod.POST, produces = {"application/json"}) MsgResponseBody<MenuInfo> getMenu(); @ApiOperation(value = "删除菜单", httpMethod = "PUT", produces = MediaType.APPLICATION_JSON_VALUE) @RequestMapping(value = "/delMenu/{menuId}", method = RequestMethod.PUT) MsgResponseBody<String> delMenu(@PathVariable Long menuId); @ApiOperation(value = "添加菜单", httpMethod = "POST", produces = MediaType.APPLICATION_JSON_VALUE) @RequestMapping(value = "/addMenu", method = RequestMethod.POST, produces = {"application/json"}) MsgResponseBody<String> addMenu(@RequestBody MenuPremInfo menuPremInfo); @ApiOperation(value = "查询菜单列表", httpMethod = "POST", produces = MediaType.APPLICATION_JSON_VALUE) @RequestMapping(value = "/searchListMenu", method = RequestMethod.POST, produces = {"application/json"}) MsgResponseBody<PageResponse<Menu>> searchListMenu(@RequestBody MenuListQueryRequest menuRequest); @ApiOperation(value = "修改菜单", httpMethod = "PUT", produces = MediaType.APPLICATION_JSON_VALUE) @RequestMapping(value = "/upMenu/{menuId}", method = RequestMethod.PUT) MsgResponseBody<String> upMenu(@PathVariable Long menuId, @RequestBody UpMenuRequest upMenuRequest);  }### Answer:
@Test public void searchListMenu() throws Exception { HttpHeaders httpHeaders = new HttpHeaders(); httpHeaders.add("Content-Type", "application/json"); httpHeaders.add("Authorization", "Bearer-eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJzZW5zc2ljIiwiSldUX0xPR0lOX05BTUUiOiJzZW5zc2ljIiwiSldUX0xPR0lOX1RJTUUiOjE1NDY4NTkzNDkzMzEsIkpXVF9MT0dJTl9VU0VSSUQiOjEsIkpXVF9MT0dJTl9VU0VSVFlQRSI6IlVzZXIiLCJleHAiOjE1NDk0NTEzNDksImlhdCI6MTU0Njg1OTM0OSwianRpIjoiNDJiNTQ0YzctMzRjNC00Mjc4LWFhZWMtNTU5MmQzYmJkM2ZjIn0.mq5NTHdrmmKke_bgQ6YOssbaaYfL1lGvft2E7Eq9SCE"); MenuListQueryRequest menuRequest = new MenuListQueryRequest(); menuRequest.setPageIndex(1); menuRequest.setPageSize(25); mvc.perform(MockMvcRequestBuilders.post("/sc/user/system/searchListMenu").content(JSON.toJSONString(menuRequest)).contentType(MediaType.APPLICATION_JSON_UTF8). headers(httpHeaders). accept(MediaType.APPLICATION_JSON_UTF8)).andExpect(MockMvcResultMatchers.status().isOk()). andDo(MockMvcResultHandlers.print()). andReturn(); }