code: def test_should_take_default_credentials_from_env(
      self, env, swagger_client_factory
  ):
      # given
      self._get_swagger_client_mock(swagger_client_factory)
  
      # when
      backend = HostedNeptuneBackendApiClient()
  
      # then
      self.assertEqual(API_TOKEN, backend.credentials.api_token)
  
file_path: neptune-client/tests/unit/neptune/legacy/internal/backends/test_hosted_neptune_backend.py
imports: import socket
  import unittest
  import mock
  from mock import MagicMock
  from neptune.legacy.exceptions import CannotResolveHostname, DeprecatedApiToken, UnsupportedClientVersion
  from neptune.legacy.internal.api_clients import HostedNeptuneBackendApiClient
label_desc: Use image node_id 5 for calling the TestHostedNeptuneBackend obj's underlying member method code with example usage: obj.test_should_take_default_credentials_from_env(env, swagger_client_factory) without return types