public void NotificationOnWholeObjectChanged() { var instance = new INPCObservableForProperty(); var testClass = new TestClassChanged(); Expression<Func<TestClassChanged, string>> expr = x => x.Property1; var exp = Reflection.Rewrite(expr.Body); var changes = new List<IObservedChange<object, object>>(); instance.GetNotificationForProperty(testClass, exp, false).Subscribe(c => changes.Add(c)); testClass.OnPropertyChanged(null); testClass.OnPropertyChanged(string.Empty); Assert.Equal(2, changes.Count); Assert.Equal(testClass, changes[0].Sender); Assert.Equal(testClass, changes[1].Sender); }