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