@Test
public final void testDoEncodeBegin() throws IOException {

    HtmlPage page = environment.getPage("/extendedDataTableTest.jsf");
    HtmlElement table = page.getElementById("table");
    assertEquals("rf-edt", table.getAttribute("class"));
    assertEquals("headerFacet", table.getElementById("table:headerFacet").getTextContent());
}