예제 #1
0
        public void ShouldExclude_ByPropertyNameList()
        {
            var object1 = new MyComplexObject(1, "A string", true);
            var object2 = new MyComplexObject(1, "A different string", true);

            var diff = object1.Diff(object2, propertiesToExcludeOrInclude: "Name");

            Assert.AreEqual(0, diff.Count);
        }