### Question:
AdminTravelController { @GetMapping(path = "/welcome") public String home(@RequestHeader HttpHeaders headers) { return "Welcome to [ AdminTravel Service ] !"; }  @GetMapping(path = "/welcome") String home(@RequestHeader HttpHeaders headers); @CrossOrigin(origins = "*") @GetMapping(path = "/admintravel") HttpEntity getAllTravels(@RequestHeader HttpHeaders headers); @PostMapping(value = "/admintravel") HttpEntity addTravel(@RequestBody TravelInfo request, @RequestHeader HttpHeaders headers); @PutMapping(value = "/admintravel") HttpEntity updateTravel(@RequestBody TravelInfo request, @RequestHeader HttpHeaders headers); @DeleteMapping(value = "/admintravel/{tripId}") HttpEntity deleteTravel(@PathVariable String tripId, @RequestHeader HttpHeaders headers);  }### Answer:
@Test public void testHome() throws Exception { mockMvc.perform(MockMvcRequestBuilders.get("/api/v1/admintravelservice/welcome")) .andExpect(MockMvcResultMatchers.status().isOk()) .andExpect(MockMvcResultMatchers.content().string("Welcome to [ AdminTravel Service ] !")); }