code: def test_instatiating_estimator(mock_warning_logger, setup):
      model_id = "xgboost-classification-model"
  
      start_time = time.perf_counter()
  
      JumpStartEstimator(
          model_id=model_id,
          role=get_sm_session().get_caller_identity_arn(),
          sagemaker_session=get_sm_session(),
      )
  
      elapsed_time = time.perf_counter() - start_time
  
      assert elapsed_time <= MAX_INIT_TIME_SECONDS
  
      mock_warning_logger.assert_called_once()
  
file_path: sagemaker-python-sdk/tests/integ/sagemaker/jumpstart/estimator/test_jumpstart_estimator.py
imports: from __future__ import absolute_import
  import os
  import time
  import mock
  import pytest
  from sagemaker.jumpstart.constants import JUMPSTART_DEFAULT_REGION_NAME
  from sagemaker.jumpstart.estimator import JumpStartEstimator
  import tests
  from tests.integ.sagemaker.jumpstart.constants import ENV_VAR_JUMPSTART_SDK_TEST_SUITE_ID, JUMPSTART_TAG
  from tests.integ.sagemaker.jumpstart.utils import get_sm_session, get_training_dataset_for_model_and_version, x_fail_if_ice
  from sagemaker.jumpstart.utils import get_jumpstart_content_bucket
label_desc: Use image node_id 5 for calling a global function with example usage: test_instatiating_estimator(mock_warning_logger, setup) without return types