code: def test_single_executor(port_generator):
      exposed_port = port_generator()
  
      f = Flow(port=exposed_port).add(
          uses={
              "jtype": "MatchAdder",
              "with": {"traversal_paths": "r,m"},
          }
      )
  
      with f:
          results = Client(port=exposed_port).post(
              on="index", inputs=Document(), return_responses=True
          )
      validate_results(results)
  
file_path: jina/tests/integration/high_order_matches/test_document.py
imports: from jina import Client, Document, Executor, Flow, requests
label_desc: Use image node_id 2 for calling a global function with example usage: test_single_executor(port_generator) without return types