@Test public void testRemovePrefixAndSuffix() { final String date = "2019-12-25"; final String input = addPrefixAndSuffix(date); final String actual = dateValueFormatter.removePrefixAndSuffix(input); assertEquals(date, actual); }
String removePrefixAndSuffix(final String rawValue) { return rawValue.replace(PREFIX, "").replace(SUFFIX, "").trim(); }
DateValueFormatter { String removePrefixAndSuffix(final String rawValue) { return rawValue.replace(PREFIX, "").replace(SUFFIX, "").trim(); } }
DateValueFormatter { String removePrefixAndSuffix(final String rawValue) { return rawValue.replace(PREFIX, "").replace(SUFFIX, "").trim(); }  }
DateValueFormatter { String removePrefixAndSuffix(final String rawValue) { return rawValue.replace(PREFIX, "").replace(SUFFIX, "").trim(); }  String toDisplay(final String rawValue); String addPrefixAndSuffix(final String value); String getDate(final String raw); }
DateValueFormatter { String removePrefixAndSuffix(final String rawValue) { return rawValue.replace(PREFIX, "").replace(SUFFIX, "").trim(); }  String toDisplay(final String rawValue); String addPrefixAndSuffix(final String value); String getDate(final String raw);  }