public void AddParameter_empty_parameters()
        {
            QueryBundle bundle = QueryBundle.Create(1, null, string.Empty);

            string      parameter = "Parameter";
            string      value     = "Value";
            QueryBundle returned  = bundle.AddParameter(parameter, value);

            Assert.AreEqual(bundle, returned);
            Assert.AreEqual(1, bundle.Parameters.Count);
            Assert.IsTrue(bundle.Parameters.Keys.Contains(typeof(string)));
            Assert.AreEqual(1, bundle.Parameters[typeof(string)].Count);
            Assert.IsTrue(bundle.Parameters[typeof(string)].Keys.Contains(parameter));
            Assert.AreEqual(value, bundle.Parameters[typeof(string)][parameter]);
        }
        public void AddParameter_overwrite_existing()
        {
            QueryBundle bundle = QueryBundle.Create(1, null, string.Empty);

            string parameter = "Parameter";
            string original  = "Original";
            string changed   = "Changed";

            bundle.AddParameter(parameter, original);
            bundle.AddParameter(parameter, changed);

            Assert.AreEqual(1, bundle.Parameters.Count);
            Assert.IsTrue(bundle.Parameters.Keys.Contains(typeof(string)));
            Assert.AreEqual(1, bundle.Parameters[typeof(string)].Count);
            Assert.IsTrue(bundle.Parameters[typeof(string)].Keys.Contains(parameter));
            Assert.AreEqual(changed, bundle.Parameters[typeof(string)][parameter]);
        }