      $ "MATCH x=shortestPath((p:Person)-[*]-(j:Job))"
      `shouldParseMatchQuery` Match
        [ MatchFunctionWrappedPattern
            (Just "x")
            (Function
               "shortestPath"
               [ Node personLabelledNode M.empty
               , ConnectorDirection NoDirection
               , Relationship EmptyPatternComponentType (Just AnyHops) M.empty
               , ConnectorDirection NoDirection
               , Node
                   (LabelledPatternComponentType