예제 #1
0
 public void GetHashCodeSameEmailsShouldBeEqual()
 {
     var comparer = new EmailBatchNotificationDispatcher.EmailEqComparer();
     Assert.AreEqual(comparer.GetHashCode(GetNotifiable1()), comparer.GetHashCode(GetNotifiable2()));
 }
예제 #2
0
 public void GetHashCodeDifferentEmailsShouldNotBeEqual()
 {
     var comparer = new EmailBatchNotificationDispatcher.EmailEqComparer();
     Assert.AreNotEqual(comparer.GetHashCode(GetNotifiable1()), comparer.GetHashCode(GetNotifiable3()));
 }