public void ResolveEntitySetFromExpressionCanResolveStaticEntitySets() { var expression = new EdmEntitySetReferenceExpression(HardCodedTestModel.GetLionSet()); var result = EntitySetExpressionResolver.ResolveEntitySetFromExpression(expression); result.Should().Be(HardCodedTestModel.GetLionSet()); }
public void ResolveEntitySetFromExpressionResolvesNullToNull() { var result = EntitySetExpressionResolver.ResolveEntitySetFromExpression(null); result.Should().BeNull(); }