public void ResetTable_Standard()
        {
            IDynamicTable table = new DynamicTable(DynamicTableType.Expandable);
            dynamic row;

            //add values
            row = new ExpandoObject();
            row.FirstName = "Hans";
            row.LastName = "Mueller";
            row.Age = 30;
            table.AddRow(row);

            //compare
            Assert.AreEqual(1, table.Rows.Count);
            Assert.AreEqual(3, table.Columns.Count);

            //reset
            table.ResetTable();

            //compare
            Assert.AreEqual(null, table.Rows);
            Assert.AreEqual(null, table.Columns);
        }
        public void ResetTable_NotInitialized()
        {
            IDynamicTable table = new DynamicTable(DynamicTableType.Expandable);

            //reset
            table.ResetTable();

            //compare
            Assert.AreEqual(null, table.Rows);
            Assert.AreEqual(null, table.Columns);
        }