public void Add_header() { var model = new MandrillMessage(); model.AddHeader("X-MY-HEADER", "foo"); model.Headers["x-my-header"].Should().Be("foo"); }
public void Add_header_list() { var model = new MandrillMessage(); model.AddHeader("X-MY-HEADER", new[] { "foo", "bar" }); model.Headers["x-my-header"].ShouldBeEquivalentTo(new[] { "foo", "bar" }); }