Пример #1
0
        public async Task Should_Return_Sender()
        {
            // Setup
            string apiKey = ConfigurationManager.AppSettings["APIKey"];

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

            // Verify
            Sender sender = await api.SenderInfo(new SenderInfoRequest("*****@*****.**"));

            Assert.IsNotNull(sender);
        }