public void TesGetInt16WithIsDBNullCheck() { var reader = new ListDataReader <Student>(_Students); reader.Read(); var col = "Short2"; Assert.Equal(77, reader.GetInt16WithNull(col).Value); reader.Read(); Assert.False(reader.GetInt16WithNull(col).HasValue); reader.Read(); Assert.Equal(76, reader.GetInt16WithNull(col).Value); }