### Question:
FoodStoreController { @GetMapping(path = "/foodstores/welcome") public String home() { return "Welcome to [ Food store Service ] !"; }  @GetMapping(path = "/foodstores/welcome") String home(); @CrossOrigin(origins = "*") @GetMapping("/foodstores") HttpEntity getAllFoodStores(@RequestHeader HttpHeaders headers); @CrossOrigin(origins = "*") @GetMapping("/foodstores/{stationId}") HttpEntity getFoodStoresOfStation(@PathVariable String stationId, @RequestHeader HttpHeaders headers); @CrossOrigin(origins = "*") @PostMapping("/foodstores") HttpEntity getFoodStoresByStationIds(@RequestBody List<String> stationIdList);  }### Answer:
@Test public void testHome() throws Exception { mockMvc.perform(MockMvcRequestBuilders.get("/api/v1/foodmapservice/foodstores/welcome")) .andExpect(MockMvcResultMatchers.status().isOk()) .andExpect(MockMvcResultMatchers.content().string("Welcome to [ Food store Service ] !")); }