### Question:
PreserveOtherController { @GetMapping(path = "/welcome") public String home() { return "Welcome to [ PreserveOther Service ] !"; }  @GetMapping(path = "/welcome") String home(); @CrossOrigin(origins = "*") @PostMapping(value = "/preserveOther") HttpEntity preserve(@RequestBody OrderTicketsInfo oti,
                               @RequestHeader HttpHeaders headers);  }### Answer:
@Test public void testHome() throws Exception { mockMvc.perform(MockMvcRequestBuilders.get("/api/v1/preserveotherservice/welcome")) .andExpect(MockMvcResultMatchers.status().isOk()) .andExpect(MockMvcResultMatchers.content().string("Welcome to [ PreserveOther Service ] !")); }