public void NullUtils_GetDecimalOrNull_Value_Success()
        {
            var reader = new StubDataReader(new StubResultSet("unit_test").AddRow(22M));

            reader.Read();
            Assert.AreEqual(22M, NullUtils.GetDecimalOrNull(reader, "unit_test").Value,
                            "GetDecimalOrNull(value) did not return the expected value");
        }
        public void NullUtils_GetDecimalOrNull_Null_Success()
        {
            var reader = new StubDataReader(new StubResultSet("unit_test").AddRow(DBNull.Value));

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