示例#1
0
        public void Relationship_adds_Tag()
        {
            // ARRANGE

            var tag = new Tag("tag", new Facet("facet", new FacetProperty()));

            var relationship = new Relationship();

            relationship.AddTag(tag);

            // ACT

            var result = relationship.Tags;

            // ASSERT

            Assert.Equal(tag, result.Single());
        }