XmlFunctions { public static String escapeXml(String content, TestContext context) { return new EscapeXmlFunction().execute(Collections.singletonList(content), context); } private  XmlFunctions(); static String createCDataSection(String content, TestContext context); static String escapeXml(String content, TestContext context); static String xPath(String content, String expression, TestContext context);  }
@Test public void testEscapeXml() throws Exception { Assert.assertEquals(escapeXml("<Test><Message>Some Text</Message></Test>", context), "&lt;Test&gt;&lt;Message&gt;Some Text&lt;/Message&gt;&lt;/Test&gt;"); }