### Question:
FunctionSignatureParser { String substitute(String text, String searchString, String replacementString) { return text.replaceFirst(Pattern.quote(searchString), replacementString); } FunctionSignatureParser(Program program, DataTypeManagerService service); FunctionDefinitionDataType parse(FunctionSignature originalSignature,
			String signatureText);  }### Answer:
@Test public void testSubstitute() { assertEquals("barxxxbar", parser.substitute("barfoobar", "foo", "xxx")); assertEquals("barxxx]bar", parser.substitute("bar[foo]bar", "[foo", "xxx")); }