code: def test_security_api_key_no_key():
      client = TestClient(app)
      response = client.get("/users/me")
      assert response.status_code == 403, response.text
      assert response.json() == {"detail": "Not authenticated"}
  
file_path: fastapi/tests/test_security_api_key_cookie_description.py
imports: from fastapi import Depends, FastAPI, Security
  from fastapi.security import APIKeyCookie
  from fastapi.testclient import TestClient
  from pydantic import BaseModel
label_desc: Use image node_id 4 for calling a global function with example usage: test_security_api_key_no_key() without return types