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