public void Set_RegularProperty_RisesPropertyChanged() { var obj = TestObservableObject.CreateEmpty(); Assert_PropertyChanged(obj, nameof(obj.TestProperty), () => { obj.TestProperty = TestString; }); }
public void Set_PropertyByPropertyExpression_RisesPropertyChanged() { var obj = TestObservableObject.CreateEmpty(); Assert_PropertyChanged(obj, nameof(obj.TestProperty), () => { obj.SetTestPropertyByPropertyExpression(TestString); }); }