public void NullUtils_GetGuid_Null_Success()
        {
            var reader = new StubDataReader(new StubResultSet("unit_test").AddRow(DBNull.Value));

            reader.Read();
            Assert.AreEqual(default(Guid), NullUtils.GetGuid(reader, "unit_test"),
                            "GetGuid(null) should have returned the default Guid value");
        }
        public void NullUtils_GetGuid_Value_Success()
        {
            var guid   = Guid.NewGuid();
            var reader = new StubDataReader(new StubResultSet("unit_test").AddRow(guid));

            reader.Read();
            Assert.AreEqual(guid, NullUtils.GetGuid(reader, "unit_test"),
                            "GetGuid(value) did not return the expected value");
        }