Exemple #1
0
            public void Add_header()
            {
                var model = new MandrillMessage();

                model.AddHeader("X-MY-HEADER", "foo");

                model.Headers["x-my-header"].Should().Be("foo");
            }
Exemple #2
0
            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" });
            }