### Question:
NotificationController { @GetMapping(path = "/welcome") public String home() { return "Welcome to [ Notification Service ] !"; }  @GetMapping(path = "/welcome") String home(); @PostMapping(value = "/notification/preserve_success") boolean preserve_success(@RequestBody NotifyInfo info, @RequestHeader HttpHeaders headers); @PostMapping(value = "/notification/order_create_success") boolean order_create_success(@RequestBody NotifyInfo info, @RequestHeader HttpHeaders headers); @PostMapping(value = "/notification/order_changed_success") boolean order_changed_success(@RequestBody NotifyInfo info, @RequestHeader HttpHeaders headers); @PostMapping(value = "/notification/order_cancel_success") boolean order_cancel_success(@RequestBody NotifyInfo info, @RequestHeader HttpHeaders headers);  }### Answer:
@Test public void testHome() throws Exception { mockMvc.perform(MockMvcRequestBuilders.get("/api/v1/notifyservice/welcome")) .andExpect(MockMvcResultMatchers.status().isOk()) .andExpect(MockMvcResultMatchers.content().string("Welcome to [ Notification Service ] !")); }