### Question:
RouteController { @GetMapping(path = "/welcome") public String home() { return "Welcome to [ Route Service ] !"; }  @GetMapping(path = "/welcome") String home(); @PostMapping(path = "/routes") ResponseEntity<Response> createAndModifyRoute(@RequestBody RouteInfo createAndModifyRouteInfo, @RequestHeader HttpHeaders headers); @DeleteMapping(path = "/routes/{routeId}") HttpEntity deleteRoute(@PathVariable String routeId, @RequestHeader HttpHeaders headers); @GetMapping(path = "/routes/{routeId}") HttpEntity queryById(@PathVariable String routeId, @RequestHeader HttpHeaders headers); @GetMapping(path = "/routes") HttpEntity queryAll(@RequestHeader HttpHeaders headers); @GetMapping(path = "/routes/{startId}/{terminalId}") HttpEntity queryByStartAndTerminal(@PathVariable String startId,
                                              @PathVariable String terminalId,
                                              @RequestHeader HttpHeaders headers);  }### Answer:
@Test public void testHome() throws Exception { mockMvc.perform(MockMvcRequestBuilders.get("/api/v1/routeservice/welcome")) .andExpect(MockMvcResultMatchers.status().isOk()) .andExpect(MockMvcResultMatchers.content().string("Welcome to [ Route Service ] !")); }