@Test
public final void testEncodeTBody() throws IOException {

    HtmlPage page = environment.getPage("/dataGridTest.jsf");
    HtmlElement dataGrid = page.getElementById("dataGrid2");
    assertEquals("rf-dg-body", ((HtmlElement) dataGrid.getFirstByXPath("tbody[@id='dataGrid2:dgb']")).getAttribute("class"));
}