### Question:
DestinationDetailsController { @Timed @RequestMapping(value = "/travel/destination-details/{city}", produces = MediaType.APPLICATION_JSON) String getInfoAboutDestination(@PathVariable final String city) throws Exception { return loader.get(city); } @Autowired  DestinationDetailsController(TravelDestinationsDetails travelDestinationsDetails);   }### Answer:
@Test public void test() throws Exception { travelDestinationDetailsMock.addInfo("SUPER_CITY", "Beautiful Town"); String res = destinationDetailsController.getInfoAboutDestination("SUPER_CITY"); assertThat(res).isEqualTo("Beautiful Town"); }