public void EntityItemTypeShouldBeSameAsItemType()
        {
            var source = FakeSingleEntityNode.CreateFakeSingleEntityNodeForDog();
            var node   = new CollectionNavigationNode(HardCodedTestModel.GetDogMyPeopleNavProp(), source);

            node.EntityItemType.Should().BeSameAs(node.ItemType);
        }
        public void EntitySetShouldBeSet()
        {
            var source = FakeSingleEntityNode.CreateFakeSingleEntityNodeForDog();
            var node   = new CollectionNavigationNode(HardCodedTestModel.GetDogMyPeopleNavProp(), source);

            node.NavigationSource.Should().BeSameAs(HardCodedTestModel.GetPeopleSet());
        }
        public void CollectionTypeShouldBeExactlyFromPropertyType()
        {
            var source = FakeSingleEntityNode.CreateFakeSingleEntityNodeForDog();
            var node   = new CollectionNavigationNode(HardCodedTestModel.GetDogMyPeopleNavProp(), source);

            node.CollectionType.Should().BeSameAs(HardCodedTestModel.GetDogMyPeopleNavProp().Type.AsCollection());
        }