code: def mocked_connection_pool_map(mocker):
      mock_connection_pool_map = mock.AsyncMock()
      mocker.patch(
          "jina.serve.networking._ConnectionPoolMap",
          return_value=mock_connection_pool_map,
      )
      return mock_connection_pool_map
  
file_path: jina/tests/integration/networking/test_grpc_connection_pool.py
imports: import asyncio
  import mock
  import pytest
  from jina import Document, DocumentArray, Flow
  from jina.serve.networking import GrpcConnectionPool
  from jina.types.request.data import DataRequest
  from tests.integration.networking import DummyExecutor
label_desc: Use image node_id 1 for calling a global function with example usage: mocked_connection_pool_map(mocker) and returns: mock_connection_pool_map