assertXpathEvaluatesTo("data1", "/tr/td[position() = 1]/span", rendering);
assertXpathEvaluatesTo("data2", "/tr/td[position() = 2]/span", rendering);
}
public void testTableRowConstructor2() throws Exception {
Employee emp = new Employee();
emp.setMatriculationCode("123");
emp.setFirstname("Sergio");
emp.setSurname("Bossa");
TableRow tableRow = new TableRow(emp, new String[]{"matriculationCode", "firstname", "surname"}, null);
String rendering = tableRow.render();
System.out.println(rendering);