public void it_should_set_a_header()
{
HeaderCollection headers = new HeaderCollection();
headers.Set(new Header("Header1", new[] { new HeaderValue("Value1", new HeaderParameter("Parameter1", "ParameterValue1")) }));
headers.Set(new Header("Header1", "Value2"));
headers.Count.Should().Be(1);
headers["Header1"].Values.Count.Should().Be(1);
headers["Header1"].Values.First().Parameters.Count.Should().Be(0);
}