code: def test_transform_with_job_name_based_on_image(
      start_new_job, name_from_base, retrieve_image_uri, transformer
  ):
      full_name = "{}-{}".format(IMAGE_URI, TIMESTAMP)
      name_from_base.return_value = full_name
  
      transformer.transform(DATA)
  
      retrieve_image_uri.assert_called_once_with()
      name_from_base.assert_called_once_with(IMAGE_URI)
      assert transformer._current_job_name == full_name
  
imports: from __future__ import absolute_import
  import pytest
  from mock import MagicMock, Mock, patch, PropertyMock
  from sagemaker.session_settings import SessionSettings
  from sagemaker.transformer import _TransformJob, Transformer
  from sagemaker.workflow.pipeline_context import PipelineSession, _PipelineConfig
  from sagemaker.inputs import BatchDataCaptureConfig
  from sagemaker.workflow.pipeline_definition_config import PipelineDefinitionConfig
  from tests.integ import test_local_mode
  from tests.unit import SAGEMAKER_CONFIG_TRANSFORM_JOB
label_desc: Use image node_id 13 for calling a global function with example usage: test_transform_with_job_name_based_on_image(start_new_job, name_from_base, retrieve_image_uri, transformer) without return types