code: def __init__(self):
      self.serve_settings = Mock()
      self.sagemaker_session = MOCK_SESSION
  
file_path: sagemaker-python-sdk/tests/unit/sagemaker/serve/utils/test_telemetry_logger.py
imports: from __future__ import absolute_import
  import unittest
  from unittest.mock import Mock, patch
  from sagemaker.serve import Mode, ModelServer
  from sagemaker.serve.utils.telemetry_logger import _send_telemetry, _capture_telemetry, _construct_url
  from sagemaker.serve.utils.exceptions import ModelBuilderException, LocalModelOutOfMemoryException
label_desc: Use image node_id 1 to create a new ModelBuilderMock object  with example: obj = ModelBuilderMock()