code: def test_raise_invalid_token_from_env(self):
      # given
      os.environ[API_TOKEN_ENV_NAME] = "INVALID_TOKEN"
  
      # expect
      with self.assertRaises(NeptuneInvalidApiTokenException):
          Credentials.from_token()
  
file_path: neptune-client/tests/unit/neptune/new/internal/test_credentials.py
imports: import os
  import unittest
  from neptune.common.exceptions import NeptuneInvalidApiTokenException
  from neptune.envs import API_TOKEN_ENV_NAME
  from neptune.internal.credentials import Credentials
label_desc: Use image node_id 4 for calling the TestCredentials obj's underlying member method code with example usage: obj.test_raise_invalid_token_from_env() without return types