public void T5() { // Arrange var raiser = SubRaiser; var catcher = Catcher.For(raiser); // Act raiser.RaisePropertyChanged("incorrect"); // Assert catcher.DidNotCatch(raiser, new PropertyChangedEventArgs("correct")); }
public void T2() { // Arrange var raiser = SubRaiser; var catcher = Catcher.For(raiser); // Act raiser.RaisePropertyChanged(TestPropertyName); // Assert catcher.CaughtPropertyChanged(raiser, TestPropertyName); }