public void DifferenceInClassWithIgnoreVarianceAreIgnored()
        {
            // Arrange
            var c1 = new IgnoreVarianceClass
            {
                Id = 201,
                IsHappy = false,
                Name = "sdafsdf"
            };

            var c2 = new IgnoreVarianceClass
            {
                Id = 1231,
                IsHappy = true,
                Name = "dafsdsdaf"
            };

            // Act
            List<ObjectVariance> variances = ObjectComparer.GetObjectVariances(c1, c2).ToList();

            // Assert
            Assert.Empty(variances);
        }
        public void DifferenceInPropertiesWithIgnoreVarianceShouldBeIgnored()
        {
            // Arrange
            var inner1 = new IgnoreVarianceClass
            {
                Id = 201,
                IsHappy = false,
                Name = "sdafsdf"
            };

            var inner2 = new IgnoreVarianceClass
            {
                Id = 1231,
                IsHappy = true,
                Name = "dafsdsdaf"
            };

            var c1 = new IgnoreVarianceClassesHolder
            {
                IgnoreVarianceClass = inner1
            };

            var c2 = new IgnoreVarianceClassesHolder
            {
                IgnoreVarianceClass = inner2
            };

            // Act
            List<ObjectVariance> variances = ObjectComparer.GetObjectVariances(c1, c2).ToList();

            // Assert
            Assert.Empty(variances);
        }