Exemple #1
0
 public void ReturnsFalseForNullObject()
 {
     Assert.IsFalse(ChangeNotificationWrapper.IsUsefulForObject(null));
 }
Exemple #2
0
 public void ReturnsFalseForObjectNotImplementingINotifyPropertyChanged()
 {
     Assert.IsFalse(ChangeNotificationWrapper.IsUsefulForObject(15));
 }
Exemple #3
0
 public void ReturnsTrueForObjectImplementingINotifyPropertyChanged()
 {
     Assert.IsTrue(ChangeNotificationWrapper.IsUsefulForObject(new TestModel()));
 }