code: def test_predictor_with_component_name(
      sagemaker_session, component_name
  ):
      predictor = TensorFlowPredictor(
          "endpoint", sagemaker_session, component_name=component_name
      )
  
      assert predictor._get_component_name() == component_name
  
imports: from __future__ import absolute_import
  import io
  import json
  import logging
  import mock
  import pytest
  from mock import Mock, patch, ANY
  from sagemaker.serializers import CSVSerializer, IdentitySerializer
  from sagemaker.tensorflow import TensorFlow, TensorFlowModel, TensorFlowPredictor
label_desc: Use image node_id 25 for calling a global function with example usage: test_predictor_with_component_name(sagemaker_session, component_name) without return types