public void TextTable_Nulls() { TextTable table; table = new TextTable(); table.SetHeaders("ID", "Name", "Text"); table.AppendRow("1", "Jeff Lill", "AA"); table.AppendRow(null, "Joe Bloe", "BBB"); table.AppendRow("300", "Jane Doe", ""); string results = "ID Name Text\r\n--- --------- ----\r\n1 Jeff Lill AA \r\n Joe Bloe BBB \r\n300 Jane Doe \r\n"; Assert.AreEqual(results, table.ToString()); }