code: def test_predictor_with_component_name(
      sagemaker_session, component_name
  ):
      predictor = MXNetPredictor(
          "endpoint", sagemaker_session, component_name=component_name
      )
  
      assert predictor._get_component_name() == component_name
  
imports: from __future__ import absolute_import
  import logging
  import json
  import os
  import pytest
  from mock import MagicMock, Mock, ANY
  from mock import patch
  from pkg_resources import parse_version
  from sagemaker.fw_utils import UploadedCode
  from sagemaker.drift_check_baselines import DriftCheckBaselines
  from sagemaker.metadata_properties import MetadataProperties
  from sagemaker.model_metrics import FileSource, MetricsSource, ModelMetrics
  from sagemaker.mxnet import defaults
  from sagemaker.mxnet import MXNet
  from sagemaker.mxnet import MXNetPredictor, MXNetModel
  from sagemaker.session_settings import SessionSettings
label_desc: Use image node_id 37 for calling a global function with example usage: test_predictor_with_component_name(sagemaker_session, component_name) without return types