Catel.Test.Data.ChangeNotificationWrapperFacts.ThePropertyChangesLogic.HandlesPropertyChangesCorrectly C# (CSharp) Method

HandlesPropertyChangesCorrectly() private method

private HandlesPropertyChangesCorrectly ( ) : void
return void
            public void HandlesPropertyChangesCorrectly()
            {
                var model = new TestModel();
                var wrapper = new ChangeNotificationWrapper(model);

                bool propertyChanged = false;

                wrapper.PropertyChanged += (sender, e) => propertyChanged = true;

                model.FirstName = "Geert";

                Assert.IsTrue(propertyChanged);
            }
        }
ChangeNotificationWrapperFacts.ThePropertyChangesLogic