public void adds_the_value()
        {
            var v1 = TemplateValue.For("FirstName", "Joel");
            var v2 = TemplateValue.For("LastName", "Arnold");

            var collection = new TemplateValueCollection();
            collection.Add(v1);
            collection.Add(v2);

            collection.ShouldHaveTheSameElementsAs(v1, v2);
        }
        public void only_adds_the_value_once()
        {
            var v1 = TemplateValue.For("FirstName", "Joel");

            var collection = new TemplateValueCollection();

            collection.Add(v1);
            collection.Add(v1);

            collection.ShouldHaveTheSameElementsAs(v1);
        }
        public void adds_the_value()
        {
            var v1 = TemplateValue.For("FirstName", "Joel");
            var v2 = TemplateValue.For("LastName", "Arnold");

            var collection = new TemplateValueCollection();

            collection.Add(v1);
            collection.Add(v2);

            collection.ShouldHaveTheSameElementsAs(v1, v2);
        }
        public void gets_the_values()
        {
            var values = new List <TemplateValue>
            {
                TemplateValue.For("FirstName", "Joel"),
                TemplateValue.For("LastName", "Arnold")
            };

            var collection = new TemplateValueCollection(values);

            collection.ShouldHaveTheSameElementsAs(values);
        }
        public void only_adds_the_value_once()
        {
            var v1 = TemplateValue.For("FirstName", "Joel");

            var collection = new TemplateValueCollection();
            collection.Add(v1);
            collection.Add(v1);

            collection.ShouldHaveTheSameElementsAs(v1);
        }
        public void gets_the_values()
        {
            var values = new List<TemplateValue>
            {
                TemplateValue.For("FirstName", "Joel"),
                TemplateValue.For("LastName", "Arnold")
            };

            var collection = new TemplateValueCollection(values);
            collection.ShouldHaveTheSameElementsAs(values);
        }