Beispiel #1
0
        public void AddData_EmptyValues()
        {
            lookup.Columns.Clear();
            lookup.Columns.Add(new LookupColumn("Test", null));

            lookup.AddData(row, new TestModel {
                Value = "Test", Date = DateTime.Now.Date, Count = 4
            });

            Assert.Equal(new String[] { null }, row.Values);
            Assert.Equal(new[] { "Test" }, row.Keys);
        }