@Test
public final void testEncodeRow() throws IOException {

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