code: def test_init_fail_nonexisting_converter(self):
      with pytest.raises(ValueError):
          PyPDFToDocument(converter_name="non_existing_converter")
  
file_path: haystack/test/components/converters/test_pypdf_to_document.py
imports: import logging
  from unittest.mock import patch
  import pytest
  from haystack import Document
  from haystack.components.converters.pypdf import PyPDFToDocument, CONVERTERS_REGISTRY
  from haystack.dataclasses import ByteStream
label_desc: Use image node_id 2 for calling the TestPyPDFToDocument obj's underlying member method code with example usage: obj.test_init_fail_nonexisting_converter() without return types