public void op_Add_Parameter()
        {
            var obj = new HttpParameterDictionary
                          {
                              new HttpParameter("name", "value")
                          };

            Assert.Equal("value", obj["name"]);
        }
        public void prop_Quality_set()
        {
            Quality expected = 0.123f;

            var obj = new HttpParameterDictionary
                          {
                              Quality = expected
                          };

            var actual = obj.Quality;

            Assert.Equal(expected, actual);
        }
        public void op_ToString()
        {
            var obj = new HttpParameterDictionary
                          {
                              { "a", "1" },
                              { "b", "2" }
                          };

            const string expected = ";a=1;b=2";
            var actual = obj.ToString();

            Assert.Equal(expected, actual);
        }
        public void op_Add_ParameterNull()
        {
            var obj = new HttpParameterDictionary();

            Assert.Throws<ArgumentNullException>(() => obj.Add(null));
        }