code: def test_get_users_items():
      """Check that /users/{user_id}/items returns expected data"""
      response = client.get("/users/abc123/items")
      assert response.status_code == 200, response.text
      assert response.json() == [{"item_id": "i2", "user_id": "abc123"}]
  
file_path: fastapi/tests/test_infer_param_optionality.py
imports: from typing import Optional
  from dirty_equals import IsDict
  from fastapi import APIRouter, FastAPI
  from fastapi.testclient import TestClient
label_desc: Use image node_id 11 for calling a global function with example usage: test_get_users_items() without return types