code: def __init__(self, kv_store):
      self.kv_store = kv_store
      self.deployment_infos: Dict[DeploymentID, DeploymentInfo] = dict()
      self.deployment_statuses: Dict[
          DeploymentID, DeploymentStatusInfo
      ] = dict()
      self.deleting: Dict[DeploymentID, bool] = dict()
  
      # Recover
      recovered_deployments = self.kv_store.get(
          "fake_deployment_state_checkpoint"
      )
      if recovered_deployments is not None:
          for name, checkpointed_data in recovered_deployments.items():
              (info, deleting) = checkpointed_data
  
              self.deployment_infos[name] = info
              self.deployment_statuses[name] = DeploymentStatusInfo(
                  name=name,
                  status=DeploymentStatus.UPDATING,
                  status_trigger=DeploymentStatusTrigger.CONFIG_UPDATE_STARTED,
                  message="",
              )
              self.deleting[name] = deleting
  
imports: import sys
  from typing import Dict, List, Tuple
  from unittest.mock import Mock, PropertyMock, patch
  import pytest
  from ray.exceptions import RayTaskError
  from ray.serve._private.application_state import ApplicationState, ApplicationStateManager, override_deployment_info
  from ray.serve._private.common import ApplicationStatus, DeploymentID, DeploymentStatus, DeploymentStatusInfo, DeploymentStatusTrigger
  from ray.serve._private.config import DeploymentConfig, ReplicaConfig
  from ray.serve._private.deploy_utils import deploy_args_to_deployment_info
  from ray.serve._private.deployment_info import DeploymentInfo
  from ray.serve._private.test_utils import MockKVStore
  from ray.serve._private.utils import get_random_string
  from ray.serve.exceptions import RayServeException
  from ray.serve.schema import DeploymentSchema, ServeApplicationSchema
label_desc: Use image node_id 1 to create a new MockDeploymentStateManager object  with example: obj = MockDeploymentStateManager(kv_store)