### Question:
AdminOrderController { @GetMapping(path = "/welcome") public String home(@RequestHeader HttpHeaders headers) { return "Welcome to [ AdminOrder Service ] !"; }  @GetMapping(path = "/welcome") String home(@RequestHeader HttpHeaders headers); @CrossOrigin(origins = "*") @GetMapping(path = "/adminorder") HttpEntity getAllOrders(@RequestHeader HttpHeaders headers); @PostMapping(value = "/adminorder") HttpEntity addOrder(@RequestBody Order request, @RequestHeader HttpHeaders headers); @PutMapping(value = "/adminorder") HttpEntity updateOrder(@RequestBody Order request, @RequestHeader HttpHeaders headers); @DeleteMapping(value = "/adminorder/{orderId}/{trainNumber}") HttpEntity deleteOrder(@PathVariable String orderId, @PathVariable String trainNumber, @RequestHeader HttpHeaders headers);  }### Answer:
@Test public void testHome() throws Exception { mockMvc.perform(MockMvcRequestBuilders.get("/api/v1/adminorderservice/welcome")) .andExpect(MockMvcResultMatchers.status().isOk()) .andExpect(MockMvcResultMatchers.content().string("Welcome to [ AdminOrder Service ] !")); }