Exemple #1
0
 public void GetColumnHeader_NullProperty_ReturnsNull()
 {
     Assert.Null(lookup.GetColumnHeader(null));
 }
        public void GetColumnHeader_NoDisplayName_ReturnsEmpty()
        {
            PropertyInfo property = typeof(TestModel).GetProperty(nameof(TestModel.Value)) !;

            Assert.Empty(lookup.GetColumnHeader(property));
        }