### Question:
TravelPlanController { @GetMapping(path = "/welcome" ) public String home() { return "Welcome to [ TravelPlan Service ] !"; }  @GetMapping(path = "/welcome" ) String home(); @PostMapping(value="/travelPlan/transferResult" ) HttpEntity getTransferResult(@RequestBody TransferTravelInfo info, @RequestHeader HttpHeaders headers); @PostMapping(value="/travelPlan/cheapest") HttpEntity getByCheapest(@RequestBody TripInfo queryInfo, @RequestHeader HttpHeaders headers); @PostMapping(value="/travelPlan/quickest") HttpEntity getByQuickest(@RequestBody TripInfo queryInfo, @RequestHeader HttpHeaders headers); @PostMapping(value="/travelPlan/minStation") HttpEntity getByMinStation(@RequestBody TripInfo queryInfo, @RequestHeader HttpHeaders headers);  }### Answer:
@Test public void testHome() throws Exception { mockMvc.perform(MockMvcRequestBuilders.get("/api/v1/travelplanservice/welcome")) .andExpect(MockMvcResultMatchers.status().isOk()) .andExpect(MockMvcResultMatchers.content().string("Welcome to [ TravelPlan Service ] !")); }