public void DeepCopyNotNull()
        {
            NullableType type = NHibernateUtil.DateTime;

            object value1 = DateTime.Now;
            object value2 = type.DeepCopy(value1, EntityMode.Poco, null);

            Assert.AreEqual(value1, value2, "Copies should be the same.");


            value2 = ((DateTime)value2).AddHours(2);
            Assert.IsFalse(value1 == value2, "value2 was changed, value1 should not have changed also.");
        }