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