code: def test_run(self, test_files_path):
      with patch(
          "haystack.components.converters.azure.DocumentAnalysisClient"
      ) as mock_azure_client:
          mock_result = Mock(
              pages=[
                  Mock(
                      lines=[
                          Mock(content="mocked line 1"),
                          Mock(content="mocked line 2"),
                      ]
                  )
              ]
          )
          mock_result.to_dict.return_value = {
              "api_version": "2023-02-28-preview",
              "model_id": "prebuilt-read",
              "content": "mocked line 1\nmocked line 2\n\f",
              "pages": [
                  {
                      "lines": [
                          {"content": "mocked line 1"},
                          {"content": "mocked line 2"},
                      ]
                  }
              ],
          }
          mock_azure_client.return_value.begin_analyze_document.return_value.result.return_value = (
              mock_result
          )
  
          component = AzureOCRDocumentConverter(
              endpoint="test_endpoint", api_key="test_credential_key"
          )
          output = component.run(
              sources=[test_files_path / "pdf" / "sample_pdf_1.pdf"]
          )
          document = output["documents"][0]
          assert document.content == "mocked line 1\nmocked line 2\n\f"
          assert "raw_azure_response" in output
          assert output["raw_azure_response"][0] == {
              "api_version": "2023-02-28-preview",
              "model_id": "prebuilt-read",
              "content": "mocked line 1\nmocked line 2\n\f",
              "pages": [
                  {
                      "lines": [
                          {"content": "mocked line 1"},
                          {"content": "mocked line 2"},
                      ]
                  }
              ],
          }
  
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 3 for calling the TestAzureOCRDocumentConverter obj's underlying member method code with example usage: obj.test_run(test_files_path) without return types