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

      // Exercise
      var api = new MandrillApi(apiKey);
      var templateContent = new TemplateContent
      {
        Content = "Test",
        Name = "model1"
      };
      RenderedTemplate result = await api.Render(new RenderTemplateRequest(templateName)
      {
        TemplateContent = new List<TemplateContent> {templateContent}
      });

      string expected = "<span>Test</span>";

      // Verify
      Assert.AreEqual(expected, result.Html);
    }
 /// <summary>
 /// 
 /// </summary>
 /// <param name="message">The other information on the message to send - same as /messages/send, but without the html content.</param>
 /// <param name="templateName">The immutable name or slug of a template that exists in the user's account. For backwards-compatibility, the template name may also be used but the immutable slug is preferred.</param>
 public SendMessageTemplateRequest(EmailMessage message, string templateName)
 {
   Message = message;
   TemplateName = templateName;
   TemplateContents = new TemplateContent[] {};
 }