code: def test_unpack_user_workspace(
      file_exists, path_exists, get_cwd, archive
  ):
      expected_workspace_path = pathlib.Path(TEST_DEPENDENCIES_PATH)
  
      actual_workspace_path = bootstrap._unpack_user_workspace()
      assert expected_workspace_path == actual_workspace_path
  
      path_exists.assert_called_once_with(
          TEST_WORKSPACE_ARCHIVE_DIR_PATH
      )
      file_exists.assert_called_once_with(TEST_WORKSPACE_ARCHIVE_PATH)
      get_cwd.assert_called()
      archive.assert_called()
  
imports: from __future__ import absolute_import
  from mock import patch
  from mock.mock import MagicMock
  from sagemaker.remote_function.runtime_environment.runtime_environment_manager import RuntimeEnvironmentError, _DependencySettings
  import sagemaker.remote_function.runtime_environment.bootstrap_runtime_environment
  import pathlib
label_desc: Use image node_id 9 for calling a global function with example usage: test_unpack_user_workspace(file_exists, path_exists, get_cwd, archive) without return types