@Test
public final void testEncodeRow() throws IOException {

    HtmlPage page = environment.getPage("/extendedDataTableTest.jsf");
    HtmlElement table = page.getElementById("table");
    HtmlElement cell = table.getElementById("table:0:f").getElementsByTagName("div").get(0);
    assertTrue(cell.getAttribute("class").contains("rf-edt-c"));
    HtmlElement cellContent = cell.getElementsByTagName("div").get(0);
    assertEquals("rf-edt-c-cnt", cellContent.getAttribute("class"));
    assertEquals("value", cellContent.getElementById("table:0:outputText").getTextContent());
}