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