Пример #1
0
        public void FacetingEntity_has_empty_facet_at_beginning(FacetingEntityBase faceted)
        {
            // ACT

            var result = faceted.Facet;

            // ASSERT

            Assert.Empty(result.Properties);
        }
Пример #2
0
        public void FacetingEntity_adds_facets(FacetingEntityBase faceted)
        {
            // ARRANGE

            var facet = new Facet();

            // ACT

            faceted.AssignFacet(facet);

            // ASSERT

            Assert.Equal(facet, faceted.Facet);
        }