// Pre Assert
assertNull(e.getTFoot());
assertEquals(0, e.getChildCount());
// Act
TableSectionElement tfoot = e.createTFoot();
// Assert
assertEquals(tfoot, e.getTFoot());
assertEquals("tfoot", tfoot.getTagName());
assertEquals(1, e.getChildCount());
assertEquals(tfoot, e.getChild(0));
// Act 2
e.deleteTFoot();
// Assert2
assertNull(e.getTFoot());
assertEquals(0, e.getChildCount());
// Act 3
TableSectionElement newTFoot = Document.get().createTFootElement();
newTFoot.setInnerText("new");
e.setTFoot(newTFoot);
// Assert 3
assertEquals(newTFoot, e.getTFoot());
assertEquals("tfoot", newTFoot.getTagName());
assertEquals(1, e.getChildCount());
assertEquals(newTFoot, e.getChild(0));
assertEquals("<table><tfoot>new</tfoot></table>", e.toString());
// Act 4