### Question:
DateValueFormatter { public String addPrefixAndSuffix(final String value) { return PREFIX + value + SUFFIX; }  String toDisplay(final String rawValue); String addPrefixAndSuffix(final String value); String getDate(final String raw);  }### Answer:
@Test public void testToRawValidDates() { String input = "28 " + localizedShortMonths[1] + " 2019"; testToRaw(input, addPrefixAndSuffix("2019-02-28")); input = "31 " + localizedShortMonths[11] + " 2019"; testToRaw(input, addPrefixAndSuffix("2019-12-31")); input = "1 " + localizedShortMonths[0] + " 2019"; testToRaw(input, addPrefixAndSuffix("2019-01-01")); }
@Test public void testAddPrefixAndSuffix() { final String input = "2019-12-25"; final String expected = addPrefixAndSuffix(input); final String actual = dateValueFormatter.addPrefixAndSuffix(input); assertEquals(expected, actual); }