code: def mock_get_provisioner(_: str, name: str) -> EntryPoint:
      if name == "new-test-provisioner":
          return EntryPoint(
              "new-test-provisioner",
              "tests.test_provisioning:NewTestProvisioner",
              KernelProvisionerFactory.GROUP_NAME,
          )
  
      if name in initial_provisioner_map:
          return EntryPoint(
              name,
              initial_provisioner_map[name],
              KernelProvisionerFactory.GROUP_NAME,
          )
  
      raise ValueError("No such entry point")
  
imports: import asyncio
  import json
  import os
  import signal
  import sys
  from subprocess import PIPE
  from typing import Any, Dict, List, Optional
  import pytest
  from jupyter_core import paths
  from traitlets import Int, Unicode
  from jupyter_client.connect import KernelConnectionInfo
  from jupyter_client.kernelspec import KernelSpecManager, NoSuchKernel
  from jupyter_client.launcher import launch_kernel
  from jupyter_client.manager import AsyncKernelManager
  from jupyter_client.provisioning import KernelProvisionerBase, KernelProvisionerFactory, LocalProvisioner
  from jupyter_client.provisioning.factory import EntryPoint
label_desc: Use image node_id 7 for calling a global function with example usage: mock_get_provisioner(_, name) and returns: EntryPoint, EntryPoint