예제 #1
0
        public void SenderDomains_Returns_Domains()
        {
            // Setup
            var apiKey = ConfigurationManager.AppSettings["APIKey"];

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

            // Verify
            var domains = api.SenderDomains();
        }
예제 #2
0
        public void SenderDomains_Returns_Domains()
        {
            // Setup
            var apiKey = ConfigurationManager.AppSettings["APIKey"];

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

            // Verify
            var domains = api.SenderDomains();
        }
예제 #3
0
        public async Task Should_Return_Sender_Domains()
        {
            // Setup
            string apiKey = ConfigurationManager.AppSettings["APIKey"];

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

            // Verify
            Task <List <SenderDomain> > domains = api.SenderDomains();


            Assert.IsNotNull(domains);
        }
예제 #4
0
    public async Task Should_Return_Sender_Domains()
    {
      // Setup
      string apiKey = ConfigurationManager.AppSettings["APIKey"];

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

      // Verify
      Task<List<SenderDomain>> domains = api.SenderDomains();


      Assert.IsNotNull(domains);
    }