public void MyNotificationTest2(string propertyName, bool wasNotified)
        {
            var sut    = new TestViewModel();
            var tester = new NotifyPropertyChangedTester <TestViewModel>(sut);

            sut.Name = "Maciek";


            Assert.IsTrue(tester.PropertyWasCalled(propertyName) == wasNotified);
        }
        public void MyNotificationTest()
        {
            var sut    = new TestViewModel();
            var tester = new NotifyPropertyChangedTester <TestViewModel>(sut);

            sut.Name = "Maciek";

            Assert.Multiple(() =>
            {
                Assert.That(tester.PropertyWasCalled(t => t.Name));
                Assert.That(tester.PropertyWasCalled(t => t.NameAndAge));
                Assert.That(tester.PropertyWasNotCalled(t => t.NoNotification));
            });
        }