### Question:
RebookController { @GetMapping(path = "/welcome") public String home() { return "Welcome to [ Rebook Service ] !"; }  @GetMapping(path = "/welcome") String home(); @PostMapping(value = "/rebook/difference") HttpEntity payDifference(@RequestBody RebookInfo info,
                                    @RequestHeader HttpHeaders headers); @PostMapping(value = "/rebook") HttpEntity rebook(@RequestBody RebookInfo info, @RequestHeader HttpHeaders headers);  }### Answer:
@Test public void testHome() throws Exception { mockMvc.perform(MockMvcRequestBuilders.get("/api/v1/rebookservice/welcome")) .andExpect(MockMvcResultMatchers.status().isOk()) .andExpect(MockMvcResultMatchers.content().string("Welcome to [ Rebook Service ] !")); }