@Test public void testGetFunctionParameterWithSpacesInsideBrackets() { final String actual = getFunctionParameter("duration( \"<VALUE>\" )"); final String expected = "<VALUE>"; assertEquals(expected, actual); }
public static String getFunctionParameter(final String rawValue) { return rawValue.replace(PREFIX, "") .replace(CLOSE_BRACKET, "") .replace(OPEN_BRACKET, "") .replace(" ", "") .replace(QUOTE, ""); }
DurationHelper { public static String getFunctionParameter(final String rawValue) { return rawValue.replace(PREFIX, "") .replace(CLOSE_BRACKET, "") .replace(OPEN_BRACKET, "") .replace(" ", "") .replace(QUOTE, ""); } }
DurationHelper { public static String getFunctionParameter(final String rawValue) { return rawValue.replace(PREFIX, "") .replace(CLOSE_BRACKET, "") .replace(OPEN_BRACKET, "") .replace(" ", "") .replace(QUOTE, ""); }  }
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); }
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);  }