Beispiel #1
0
        public void Constructor_with_no_arguments_should_create_empty_tag_set()
        {
            var tagSet = new TagSet();

            tagSet.Tags.Count.Should().Be(0);
        }
Beispiel #2
0
        public void Equals_should_return_false_if_rhs_is_not_a_TagSet()
        {
            var tagSet1 = new TagSet(new[] { new Tag("name", "value") });

            tagSet1.Equals((object)"abc").Should().BeFalse();
        }