public void ReturnsOneDeltaObject_WhenNullableDateTimeDeltaExists()
            {
                var originalCustomer = new TestCustomerWithAllPropertiesIgnoreOnDefault();
                var newCustomer      = new TestCustomerWithAllPropertiesIgnoreOnDefault
                {
                    StartDate = new DateTime(1872, 1, 12)
                };

                var deltaObjects = DeltaObjectFromObjectGenerator.GetDeltaObjects(originalCustomer, newCustomer);

                Assert.NotNull(deltaObjects);
                Assert.Single(deltaObjects);
                Assert.Equal(newCustomer.StartDate, deltaObjects[0].NewValue);
            }
            public void DoesNotGenerateDeltaObjects_WhenAllValuesDefaultAndAllPropertiesHaveIgnoreOnDefaultAttribute()
            {
                var originalCustomer = new TestCustomerWithAllPropertiesIgnoreOnDefault
                {
                    FirstName     = "goodName",
                    LastName      = "neatName",
                    Age           = 432,
                    SomeStuff     = TestEnum.SomethingMore,
                    SomeFlagStuff = TestFlagEnum.SecondThing | TestFlagEnum.ThirdThing,
                    DateOfBirth   = new DateTime(1919, 10, 10),
                    StartDate     = new DateTime(1980, 11, 11)
                };

                var newCustomer = new TestCustomerWithAllPropertiesIgnoreOnDefault();

                var deltaObjects = DeltaObjectFromObjectGenerator.GetDeltaObjects(originalCustomer, newCustomer);

                Assert.NotNull(deltaObjects);
                Assert.Empty(deltaObjects);
            }