### Question:
ImageController { @RequestMapping(value = "/image-path", method = RequestMethod.GET) public String getImagePath() { LOGGER.info("Successfully found image path"); return "/product-image.png"; }  @RequestMapping(value = "/image-path", method = RequestMethod.GET) String getImagePath();  }### Answer:
@Test public void testGetImagePath() { var imageController = new ImageController(); var imagePath = imageController.getImagePath(); assertEquals("/product-image.png", imagePath); }