code: def test_move_to_destination_s3_with_prefix():
      sms = Mock(
          settings=SessionSettings(),
      )
      uri = sagemaker.local.utils.move_to_destination(
          "/tmp/data", "s3://bucket/path", "job", sms, "foo_prefix"
      )
      sms.upload_data.assert_called_with(
          "/tmp/data", "bucket", "path/job/foo_prefix"
      )
      assert uri == "s3://bucket/path/job/foo_prefix"
  
imports: from __future__ import absolute_import
  import os
  import errno
  import pytest
  import json
  from mock import patch, Mock, mock_open
  import sagemaker.local.utils
  from sagemaker.session_settings import SessionSettings
label_desc: Use image node_id 4 for calling a global function with example usage: test_move_to_destination_s3_with_prefix() without return types