code: def _create_proxy_state(
      actor_proxy_wrapper_class=FakeProxyWrapper,
      status: ProxyStatus = ProxyStatus.STARTING,
      node_id: str = "mock_node_id",
      timer=Timer(),
      **kwargs,
  ) -> ProxyState:
      state = ProxyState(
          actor_proxy_wrapper=actor_proxy_wrapper_class(),
          actor_name="alice",
          node_id=node_id,
          node_ip="mock_node_ip",
          timer=timer,
      )
      state.set_status(status=status)
      return state
  
imports: import json
  import time
  from typing import List, Tuple
  from unittest.mock import patch
  import pytest
  from ray._private.test_utils import wait_for_condition
  from ray.serve._private.cluster_node_info_cache import ClusterNodeInfoCache
  from ray.serve._private.common import ProxyStatus
  from ray.serve._private.constants import PROXY_HEALTH_CHECK_UNHEALTHY_THRESHOLD
  from ray.serve._private.proxy_state import ProxyState, ProxyStateManager, ProxyWrapper, ProxyWrapperCallStatus
  from ray.serve._private.test_utils import MockTimer
  from ray.serve._private.utils import Timer
  from ray.serve.config import DeploymentMode, HTTPOptions
  from ray.serve.schema import LoggingConfig
label_desc: Use image node_id 2 for calling a global function with example usage: _create_proxy_state(actor_proxy_wrapper_class, status, node_id, timer) and returns: state