public void TestGetCharWithIsDBNullCheck() { var reader = new ListDataReader <Student>(_Students); reader.Read(); var col = "Char"; Assert.Equal('2', reader.GetCharWithNull(col).Value); reader.Read(); Assert.False(reader.GetCharWithNull(col).HasValue); reader.Read(); Assert.Equal('3', reader.GetCharWithNull(col).Value); }