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