public void ChangingAPropertyValueShouldFirePropertyChangedForAllAffectedProperties() { var testSubject = new _ClassShowingTypicalUsageOfTrackingProperties(); testSubject.MonitorEvents(); testSubject.Name = "just changing the property to trigger the event"; testSubject.ShouldRaisePropertyChangeFor(s => s.Name); testSubject.ShouldRaisePropertyChangeFor(s => s.FullName); }
public void ChangingAPropertyValueShouldFirePropertyChangedForAllAffectedProperties() { var testSubject = new _ClassShowingTypicalUsageOfTrackingProperties(); testSubject.MonitorEvents(); testSubject.Name = "just changing the property to trigger the event"; testSubject.ShouldRaisePropertyChangeFor(s => s.Name); testSubject.ShouldRaisePropertyChangeFor(s => s.FullName); }