code: def test_spark_processor_base_extend_processing_args(
      mock_stage_configuration,
      mock_processing_output,
      spark_processor_base,
      config,
      expected,
      sagemaker_session,
  ):
      mock_stage_configuration.return_value = processing_input
      mock_processing_output.return_value = processing_output
  
      (
          extended_inputs,
          extended_outputs,
      ) = spark_processor_base._extend_processing_args(
          inputs=config["inputs"],
          outputs=config["outputs"],
          configuration=config["configuration"],
          spark_event_logs_s3_uri=config["spark_event_logs_s3_uri"],
      )
  
      assert extended_inputs == expected["inputs"]
      assert extended_outputs == expected["outputs"]
  
imports: from __future__ import absolute_import
  import pathlib
  import subprocess
  import tempfile
  from io import BytesIO
  from typing import Generator
  from unittest.case import TestCase
  from unittest.mock import MagicMock, Mock, call, mock_open, patch
  import pytest
  from sagemaker.processing import ProcessingInput, ProcessingOutput
  from sagemaker.session_settings import SessionSettings
  from sagemaker.spark.processing import PySparkProcessor, SparkJarProcessor, _SparkProcessorBase, _HistoryServer, FileType, SparkConfigUtils
label_desc: Use image node_id 13 for calling a global function with example usage: test_spark_processor_base_extend_processing_args(mock_stage_configuration, mock_processing_output, spark_processor_base, config, expected, sagemaker_session) without return types