### Question:
ConsignController { @GetMapping(path = "/welcome") public String home(@RequestHeader HttpHeaders headers) { return "Welcome to [ Consign Service ] !"; }  @GetMapping(path = "/welcome") String home(@RequestHeader HttpHeaders headers); @PostMapping(value = "/consigns") HttpEntity insertConsign(@RequestBody Consign request,
                                    @RequestHeader HttpHeaders headers); @PutMapping(value = "/consigns") HttpEntity updateConsign(@RequestBody Consign request, @RequestHeader HttpHeaders headers); @GetMapping(value = "/consigns/account/{id}") HttpEntity findByAccountId(@PathVariable String id, @RequestHeader HttpHeaders headers); @GetMapping(value = "/consigns/order/{id}") HttpEntity findByOrderId(@PathVariable String id, @RequestHeader HttpHeaders headers); @GetMapping(value = "/consigns/{consignee}") HttpEntity findByConsignee(@PathVariable String consignee, @RequestHeader HttpHeaders headers);  }### Answer:
@Test public void testHome() throws Exception { mockMvc.perform(MockMvcRequestBuilders.get("/api/v1/consignservice/welcome")) .andExpect(MockMvcResultMatchers.status().isOk()) .andExpect(MockMvcResultMatchers.content().string("Welcome to [ Consign Service ] !")); }