}
private void helpTest(Function func, String expected) {
EscapeSyntaxModifier mod = new EscapeSyntaxModifier();
List parts = mod.translate(func);
StringBuffer sb = new StringBuffer();
for (Object object : parts) {
sb.append(object);
}
assertEquals(expected, sb.toString());