public void TestGetDoubleWithIsDBNullCheck() { var reader = new ListDataReader <Student>(_Students); reader.Read(); var col = "Double2"; Assert.Equal(4.4, reader.GetDoubleWithNull(col).Value); reader.Read(); Assert.False(reader.GetDoubleWithNull(col).HasValue); reader.Read(); Assert.Equal(5.5, reader.GetDoubleWithNull(col).Value); }