public void VerifyRecipientListForExceptionBuild() { IIntegrationResult result = AddModification(IntegrationResultMother.CreateExceptioned()); Assert.AreEqual(ExpectedRecipients(always, changed, modifier), new EmailMessage(result, publisher).Recipients); }
public void EmailSubjectForExceptionedBuild() { string subject = GetEmailMessage(IntegrationResultMother.CreateExceptioned(), true).Subject; Assert.AreEqual("CCNET: Project#9 Exception in Build !", subject); }