public void NullUtils_GetInt64OrNull_Value_Success()
        {
            var reader = new StubDataReader(new StubResultSet("unit_test").AddRow(64L));

            reader.Read();
            Assert.AreEqual(64L, NullUtils.GetInt64OrNull(reader, "unit_test").Value,
                            "GetInt64OrNull(value) did not return the expected value");
        }
        public void NullUtils_GetInt64OrNull_Null_Success()
        {
            var reader = new StubDataReader(new StubResultSet("unit_test").AddRow(DBNull.Value));

            reader.Read();
            Assert.IsNull(NullUtils.GetInt64OrNull(reader, "unit_test"),
                          "GetInt64OrNull(null) should have returned null");
        }