### Question:
FinderController extends Controller { @Action(method = HttpMethod.POST) public ActionResult push_config_feedback(HttpContext context) { JsonResult jsonResult = new JsonResult(); Map<String, String> paramsMap = context.Request.getParams(); logger.info("paramsMap:" + JacksonUtils.toJson(paramsMap)); ConfigFeedBackValue feedBackValue = getFeedBackValue(paramsMap); boolean sendSuccess = finderService.pushConfigFeedback(feedBackValue); if (!sendSuccess) { jsonResult.setRet(ErrorCode.INTERNAL_EXCEPTION); jsonResult.setMsg("config feedback fail"); logger.error("paramsMap:" + JacksonUtils.toJson(paramsMap) + ";feedback data fail"); } String result = JacksonUtils.toJson(jsonResult); logger.info("jsonResult:" + result); ActionResult actionResult = null; try { actionResult = new ActionResult(HttpDataType.JSON, result.getBytes(Constants.DEFAULT_CHARSET)); } catch (UnsupportedEncodingException e) { actionResult = new ActionResult(HttpDataType.JSON, result.getBytes()); logger.error(e); } return actionResult; }  @Action(method = HttpMethod.GET) ActionResult query_zk_path(HttpContext context); @Action(method = HttpMethod.GET) ActionResult query_zk_info(HttpContext context); @Action(method = HttpMethod.GET) ActionResult query_service_path(HttpContext context); @Action(method = HttpMethod.POST) ActionResult push_config_feedback(HttpContext context); @Action(method = HttpMethod.POST) ActionResult push_service_feedback(HttpContext context); @Action(method = HttpMethod.POST) ActionResult register_service_info(HttpContext context);  }### Answer:
@Test public void testPush_config_feedback(){ ConfigManager.getInstance().put(ConfigManager.KEY_ZKSTR,server.getConnectString()); HttpContext context = new HttpContext(UUID.randomUUID().toString()); Map<String, String> params = new HashMap<>(); params.put("pushId","/root"); params.put("project","/root"); params.put("serviceGroup","/root"); params.put("service","/root"); params.put("version","/root"); params.put("config","/root"); params.put("addr","/root"); params.put("updateStatus","/root"); params.put("updateTime","/root"); context.Request.setParams(params); FinderController finderController = new FinderController(); ActionResult result = null; result = finderController.push_config_feedback(context); Assert.assertNotNull(result.getData()); byte[] data = result.getData(); String str = new String(data); JsonResult jsonResult = JacksonUtils.toObject(str,JsonResult.class); System.out.println( JacksonUtils.toJson(jsonResult)); Assert.assertNotNull(result.getData()); Assert.assertEquals(0,jsonResult.getRet()); }