### Question:
DrawController { @PostMapping(value = "/querydrawcash") public ResBodyData queryDrawCash( @RequestParam(value = "pageNumber", defaultValue = "1") int pageNumber, @RequestParam(value = "pageSize", defaultValue = "20") int pageSize, @RequestParam(value = "type", defaultValue = "list") String type, @RequestParam Map<String, Object> params) { if("list".equals(type)){ PageHelper.startPage(pageNumber, pageSize); } List<EcmMzfDraw> ecmMzfDrawList = drawService.queryDrawCash(params); int total = drawService.getDrawCount(params); Map<String,Object> result = Maps.newHashMap(); result.put("list", ecmMzfDrawList); result.put("total", total); return SettlementUtil.success(result); }  @PostMapping(value="/queryaccoutbalance") ResBodyData queryAccoutBalance(String code); @PostMapping(value = "/drawcash") ResBodyData drawCash(@Validated EcmMzfDraw ecmMzfDraw); @PostMapping(value = "/querydrawcash") ResBodyData queryDrawCash(
			@RequestParam(value = "pageNumber", defaultValue = "1") int pageNumber,
			@RequestParam(value = "pageSize", defaultValue = "20") int pageSize,
			@RequestParam(value = "type", defaultValue = "list") String type,
			@RequestParam Map<String, Object> params); @PostMapping(value="/querydrawcashbyid") ResBodyData queryDrawCashById(String drawCode); @PostMapping(value="/verifydrawcashbyid") ResBodyData verifyDrawCashById(EcmMzfDraw ecmmzfdraw); @PostMapping(value="/rejectdrawcashbyid") ResBodyData rejectDrawCashById(EcmMzfDraw ecmmzfdraw); @PostMapping(value="/confirmdrawcashbyidbytype") ResBodyData confirmDrawCashByIdByType(EcmMzfDraw ecmmzfdraw);  }### Answer:
@Test public void testQueryDrawCash() throws Exception { ResultActions results = mockMvc .perform(MockMvcRequestBuilders.post("/settlementservice/drawservice/v1/querydrawcash")) .andExpect(status().isOk()); results.andDo(new ResultHandler() { @Override public void handle(MvcResult result) throws Exception { System.out.println("*********" + result.getResponse().getContentAsString()); } }); }