code: def test_with_image_file(self, test_files_path):
      component = AzureOCRDocumentConverter(
          endpoint=os.environ["CORE_AZURE_CS_ENDPOINT"],
          api_key=os.environ["CORE_AZURE_CS_API_KEY"],
      )
      output = component.run(
          sources=[test_files_path / "images" / "haystack-logo.png"]
      )
      documents = output["documents"]
      assert len(documents) == 1
      assert "haystack" in documents[0].content
      assert "by deepset" in documents[0].content
  
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 6 for calling the TestAzureOCRDocumentConverter obj's underlying member method code with example usage: obj.test_with_image_file(test_files_path) without return types