public void GetColumn_NotIntialized()
        {
            IDynamicTable table = new DynamicTable(DynamicTableType.Expandable);

            IDynamicTableColumn column;

            //compare
            column = table.GetColumn("acb");
            Assert.AreEqual(null, column);
        }
        public void GetColumn_Standard()
        {
            IDynamicTable table = new DynamicTable(DynamicTableType.Expandable);
            dynamic row;

            IDynamicTableColumn column;

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

            //compare
            column = table.GetColumn("LastName");
            Assert.AreEqual("LastName", column.Name);

            column = table.GetColumn("Age");
            Assert.AreEqual("Age", column.Name);
        }
        public void GetColumn_NotExisting()
        {
            IDynamicTable table = new DynamicTable(DynamicTableType.Expandable);
            dynamic row;

            IDynamicTableColumn column;

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

            //compare
            column = table.GetColumn("xxxxxxx");
            Assert.AreEqual(null, column);
        }