XmlFunctions { public static String createCDataSection(String content, TestContext context) { return new CreateCDataSectionFunction().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 testCreateCDataSection() throws Exception { Assert.assertEquals(createCDataSection("<Test><Message>Some Text</Message></Test>", context), "<![CDATA[<Test><Message>Some Text</Message></Test>]]>"); }