code: def test_init_fail_wo_api_key(self, monkeypatch):
      monkeypatch.delenv("AZURE_AI_API_KEY", raising=False)
      with pytest.raises(ValueError):
          AzureOCRDocumentConverter(endpoint="test_endpoint")
  
file_path: haystack/test/components/converters/test_azure_ocr_doc_converter.py
imports: import os
  from unittest.mock import patch, Mock
  import pytest
  from haystack.components.converters.azure import AzureOCRDocumentConverter
  from haystack.dataclasses import ByteStream
label_desc: Use image node_id 1 for calling the TestAzureOCRDocumentConverter obj's underlying member method code with example usage: obj.test_init_fail_wo_api_key(monkeypatch) without return types