summaryrefslogtreecommitdiffstats
path: root/SendGrid/Tests/Transport/TestSMTP.cs
blob: fcfb0501c684da45ce709dc5771bbf22c74cb505 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using Moq;
using NUnit.Framework;
using SendGridMail.Transport;

namespace Tests.Transport
{
    [TestFixture]
    public class TestSMTP
    {
        [Test]
        public void Deliver()
        {
            var mock = new Mock<SMTP.ISmtpClient>();
            var client = mock.Object;
            var credentials = new NetworkCredential("username", "password");
            SMTP.GenerateInstance(client, credentials);
        }
    }
}