예제 #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()));
 }