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