public async Task Should_Return_Sender_Domain()
    {
      // Setup
      string apiKey = ConfigurationManager.AppSettings["APIKey"];

      // Exercise
      var api = new MandrillApi(apiKey);

      // Verify
      SenderDomain domain = await api.CheckSenderDomain(new SenderCheckDomainRequest("example.com"));
      Assert.IsNotNull(domain);
    }
Пример #2
0
        public void CheckSenderDomain_Returns_Domain()
        {
            // Setup
            var apiKey = ConfigurationManager.AppSettings["APIKey"];

            // Exercise
            var api = new MandrillApi(apiKey);

            // Verify
            var domain = api.CheckSenderDomain("example.com");
            Assert.IsNotNull(domain);
        }
Пример #3
0
        public void CheckSenderDomain_Returns_Domain()
        {
            // Setup
            var apiKey = ConfigurationManager.AppSettings["APIKey"];

            // Exercise
            var api = new MandrillApi(apiKey);

            // Verify
            var domain = api.CheckSenderDomain("example.com");

            Assert.IsNotNull(domain);
        }
Пример #4
0
        public async Task Should_Return_Sender_Domain()
        {
            // Setup
            string apiKey = ConfigurationManager.AppSettings["APIKey"];

            // Exercise
            var api = new MandrillApi(apiKey);

            // Verify
            SenderDomain domain = await api.CheckSenderDomain(new SenderCheckDomainRequest("example.com"));

            Assert.IsNotNull(domain);
        }