public void TestGetBooleanWithIsDBNullCheck() { var reader = new ListDataReader <Student>(_Students); reader.Read(); var col = "Bool2"; Assert.True(reader.GetBooleanWithNull(col).Value); reader.Read(); Assert.False(reader.GetBooleanWithNull(col).HasValue); reader.Read(); Assert.False(reader.GetBooleanWithNull(col).Value); }