public void GetFullRecipientCount_BasicMessage_Returns0_WhenNoRecipientsAdded() { //Arrange var message = new BasicMessage(); var validator = new SendValidator(); //Act var actual = validator.GetFullRecipientCount(message); //Assert Assert.AreEqual(0, actual); }
public void GetFullRecipientCount_BasicMessage_ReturnsGT0_WhenOnlyBccRecipientsHasOneValue() { //Arrange var message = new BasicMessage { Bcc = new List <IEmailAddress> { new EmailAddress(RandomHelper.RandomEmail()) } }; var validator = new SendValidator(); //Act var actual = validator.GetFullRecipientCount(message); //Assert Assert.IsTrue(actual > 0); }