}
public void testReplaceStringWithBackslash() throws Exception {
ValueReplacer replacer = new ValueReplacer();
replacer.setUserDefinedVariables(variables.getUserDefinedVariables());
TestElement element = new ConfigTestElement();
String input = "\\${server} \\ \\\\ \\\\\\ \\, ";
element.setProperty(new StringProperty("domain", input));
replacer.replaceValues(element);
//log.debug("domain property = " + element.getProperty("domain"));
element.setRunningVersion(true);
assertEquals(input, element.getPropertyAsString("domain"));
}