assertEquals("the quick brown fox", ret);
}
public void testReplace2() throws Exception {
vars.put("URL", "/query.cgi?s1=1&s2=2&s3=3");
params.add(new CompoundVariable("vars.get('URL').replaceAll('&','&')"));
params.add(new CompoundVariable("URL"));
function.setParameters(params);
String ret = function.execute(result, null);
assertEquals("/query.cgi?s1=1&s2=2&s3=3", ret);
assertEquals(ret,vars.getObject("URL"));
}