public void CanHide_Columns_WhenConverting_ObjectsToTable() { var objects = AListOfAnyClass(); var table = new QueryTable<AnyClass>(); table.HideColumns("Any Property,Yet Another Property,A Date Time Property"); var expected = new List<object> { new List<object> { new List<object> {"Any Other Property", "B1"}, }, new List<object> { new List<object> {"Any Other Property", "B2"}, }, new List<object> { new List<object> {"Any Other Property", "B3"}, } }; Assert.AreEqual(expected, table.For(objects)); }