Esempio n. 1
0
        public void TestSendEmailAsync()
        {
            var emailService = new EmailService.Services.EmailService(Options.Create(_setting));
            Task <HttpResponseMessage> sendEmailAsync = emailService.SendEmailAsync(email);

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

            Assert.IsNotNull(sendEmailAsync);
        }