public static void CaughtPropertyChanged(this ICatcher <PropertyChangedEventArgs> subCatcher, object sender, string propertyName) { subCatcher.Received(1).Catch(sender, Arg.Is <PropertyChangedEventArgs>(p => p.PropertyName == propertyName)); }
public static void CaughtEmpty(this ICatcher <EventArgs> subCatcher, object sender) { subCatcher.Received(1).Catch(sender, EventArgs.Empty); }