### Question:
HelloWorldController { @RequestMapping("/") public String sayHello() { return "Hello,World!"; }  @RequestMapping("/") String sayHello(); @PostMapping(value = "/request_param") String requestParam(@RequestParam(value = "name") String name); @PostMapping(value = "/request_body") UserInfo requestBody(@RequestParam(value = "name") String name, @RequestBody UserInfo info); @PostMapping(value = "/request_body1") UserInfo requestBody1(@RequestBody UserInfo info);  }### Answer:
@Test public void testSayHello() { assertEquals("Hello,World!",new HelloWorldController().sayHello()); }