@Test
public void testToHtml()
{

    TableData td = new TableData();
    assertEquals("<td></td>",td.toHtml());
    td.setHeader(true);
    assertEquals("<th></th>",td.toHtml());
    td.setHeader(false);
    td.setColspan(2);
    assertEquals("<td colspan=\"2\"></td>",td.toHtml());
    td.setColspan(1);
    td.setText("blah note");
    assertEquals("<td>blah note</td>",td.toHtml());
    td.setFootnote(footnote);
    assertEquals("<td>blah <sup>*</sup>note</td>",td.toHtml());
}