public void GetObservable_Returns_Property_Change_Only_For_Correct_Property() { Class2 target = new Class2(); bool raised = false; target.GetObservable(Class1.FooProperty).Subscribe(x => raised = true); raised = false; target.SetValue(Class2.BarProperty, "newvalue"); Assert.False(raised); }