code: def test_huggingface_processor_with_required_parameters(
      exists_mock,
      isfile_mock,
      botocore_resolver,
      sagemaker_session,
      huggingface_training_version,
      huggingface_pytorch_training_version,
      huggingface_pytorch_training_py_version,
  ):
      botocore_resolver.return_value.construct_endpoint.return_value = {
          "hostname": ECR_HOSTNAME
      }
  
      processor = HuggingFaceProcessor(
          role=ROLE,
          instance_type=GPU_INSTANCE_TYPE,
          transformers_version=huggingface_training_version,
          pytorch_version=huggingface_pytorch_training_version,
          py_version=huggingface_pytorch_training_py_version,
          instance_count=1,
          sagemaker_session=sagemaker_session,
      )
  
      processor.run(code="/local/path/to/processing_code.py")
  
      expected_args = _get_expected_args_modular_code(
          processor._current_job_name
      )
      expected_args["app_specification"][
          "ImageUri"
      ] = get_full_gpu_image_uri(
          huggingface_training_version,
          f"pytorch{huggingface_pytorch_training_version}",
      )
  
      sagemaker_session.process.assert_called_with(**expected_args)
  
file_path: sagemaker-python-sdk/tests/unit/sagemaker/huggingface/test_processing.py
imports: from __future__ import absolute_import
  import pytest
  from mock import Mock, patch, MagicMock
  from sagemaker.huggingface.processing import HuggingFaceProcessor
  from sagemaker.fw_utils import UploadedCode
  from sagemaker.session_settings import SessionSettings
  from .huggingface_utils import get_full_gpu_image_uri, GPU_INSTANCE_TYPE, REGION
label_desc: Use image node_id 4 for calling a global function with example usage: test_huggingface_processor_with_required_parameters(exists_mock, isfile_mock, botocore_resolver, sagemaker_session, huggingface_training_version, huggingface_pytorch_training_version, huggingface_pytorch_training_py_version) without return types