code: def test_get_endpoint_upload_destination(self):
      self.client._service.get_endpoint_upload_destination.return_value = {
          "path": "foo"
      }
  
      self.assertEqual(
          self.client._get_endpoint_upload_destination(), "foo"
      )
  
file_path: TabPy/tests/unit/tools_tests/test_client.py
imports: import unittest
  from unittest.mock import Mock
  from tabpy.tabpy_tools.client import Client
  from tabpy.tabpy_tools.client import _check_endpoint_name
label_desc: Use image node_id 7 for calling the TestClient obj's underlying member method code with example usage: obj.test_get_endpoint_upload_destination() without return types