public void GeographyFromGml_produces_correct_EdmFunction()
        {
            var argument = DbExpressionBuilder.Constant("<gml>some GML</gml>");
            var function = SpatialEdmFunctions.GeographyFromGml(argument);

            Assert.Equal("GeographyFromGml", function.Function.FunctionName);
            Assert.Same(argument, function.Arguments[0]);
        }
        public void GeographyFromGml_with_coordinate_id_produces_correct_EdmFunction()
        {
            var argument1 = DbExpressionBuilder.Constant("<gml>some GML</gml>");
            var argument2 = DbExpressionBuilder.Constant(1);
            var function  = SpatialEdmFunctions.GeographyFromGml(argument1, argument2);

            Assert.Equal("GeographyFromGml", function.Function.FunctionName);
            Assert.Same(argument1, function.Arguments[0]);
            Assert.Same(argument2, function.Arguments[1]);
        }