### Question:
PriceController { @RequestMapping(value = "/price", method = RequestMethod.GET) public String getPrice() { LOGGER.info("Successfully found price info"); return "20"; }  @RequestMapping(value = "/price", method = RequestMethod.GET) String getPrice();  }### Answer:
@Test public void testgetPrice() { var priceController = new PriceController(); var price = priceController.getPrice(); assertEquals("20", price); }