@Test
public final void testDoEncodeChildren() throws IOException {

    HtmlPage page = environment.getPage("/dataGridTest.jsf");
    HtmlElement dataGrid = page.getElementById("dataGrid2");
    assertEquals("rf-dg", dataGrid.getAttribute("class"));
    assertEquals("noDataFacet",
        ((HtmlElement) dataGrid
            .getFirstByXPath("tbody/tr[@class='rf-dg-nd']/td[@class='rf-dg-nd-c']/*[@id='dataGrid2:noDataFacet']"))
            .getTextContent());
}