public void EqualsSameEmailAddressesShouldReturnTrue() { var comparer = new EmailBatchNotificationDispatcher.EmailEqComparer(); Assert.IsTrue(comparer.Equals(GetNotifiable1(), GetNotifiable2())); }
public void EqualsDifferentEmailAddressesShouldReturnFalse() { var comparer = new EmailBatchNotificationDispatcher.EmailEqComparer(); Assert.IsFalse(comparer.Equals(GetNotifiable1(), GetNotifiable3())); }