### Question:
DurationHelper { public static String getFunctionParameter(final String rawValue) { return rawValue.replace(PREFIX, "") .replace(CLOSE_BRACKET, "") .replace(OPEN_BRACKET, "") .replace(" ", "") .replace(QUOTE, ""); }  static String addFunctionCall(final String value); static String getFunctionParameter(final String rawValue);  }### Answer:
@Test public void testGetFunctionParameter() { final String actual = getFunctionParameter("duration(\"<VALUE>\")"); final String expected = "<VALUE>"; assertEquals(expected, actual); }
@Test public void testGetFunctionParameterWithSpacesBeforeOpenBracket() { final String actual = getFunctionParameter("duration (\"<VALUE>\")"); final String expected = "<VALUE>"; assertEquals(expected, actual); }
@Test public void testGetFunctionParameterWithSpacesInsideBrackets() { final String actual = getFunctionParameter("duration( \"<VALUE>\" )"); final String expected = "<VALUE>"; assertEquals(expected, actual); }