public void TestSendEmailAsync() { var emailService = new EmailService.Services.EmailService(Options.Create(_setting)); Task <HttpResponseMessage> sendEmailAsync = emailService.SendEmailAsync(email); Assert.IsNotNull(sendEmailAsync); }
public void TestSendEmailAsyncOtherEmailType() { email.EmailType = "EmailResetPassword"; var emailService = new EmailService.Services.EmailService(Options.Create(_setting)); Task <HttpResponseMessage> sendEmailAsync = emailService.SendEmailAsync(email); Assert.IsNotNull(sendEmailAsync); }