Example #1
0
        public void TagNode_retrieves_properties_with_values()
        {
            // ARRANGE

            var tag = DefaultTag(WithDefaultProperty);

            // ACT

            var result = new TagNode(tag).GetItemProperties(this.ProviderContextMock.Object, Enumerable.Empty <string>());

            // ASSERT

            //todo: properties //Assert.Equal(new[] { "Name", "Id", "ItemType", "Properties" }, result.Select(p => p.Name));
            Assert.Equal(new[] { "Name", "Id", "ItemType" }, result.Select(p => p.Name));
        }