Ejemplo n.º 1
0
        public void ExpandTokenForNavigationPropertyOnDerivedComplexWithSelectShouldHavePartialSubtree()
        {
            SelectedPropertiesNode p = SelectedPropertiesNode.Create("NearestAirport/TestModel.RegionalAirport(Name),NearestAirport/TestModel.RegionalAirport/Region()", this.metropolisType, this.edmModel);

            p.IsEntireSubtree().Should().BeFalse();
        }
 internal static SelectedPropertiesNode HaveEntireSubtree(this SelectedPropertiesNode node, bool isTrue = true)
 {
     Assert.Equal(isTrue, node.IsEntireSubtree());
     return(node);
 }