code: def get_deployment(
      self, deployment_id: DeploymentID
  ) -> DeploymentInfo:
      if deployment_id in self.deployment_statuses:
          # Return dummy deployment info object
          return DeploymentInfo(
              deployment_config=DeploymentConfig(
                  num_replicas=1, user_config={}
              ),
              replica_config=ReplicaConfig.create(lambda x: x),
              start_time_ms=0,
              deployer_job_id="",
          )
  
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 5 for calling the MockDeploymentStateManager obj's underlying member method code with example usage: obj.get_deployment(deployment_id) and returns: DeploymentInfo