code: def test_from_dict_without_docstore_type(self):
      data = {
          "type": "haystack.components.caching.cache_checker.UrlCacheChecker",
          "init_parameters": {
              "document_store": {"init_parameters": {}}
          },
      }
      with pytest.raises(
          DeserializationError,
          match="Missing 'type' in document store's serialization data",
      ):
          CacheChecker.from_dict(data)
  
file_path: haystack/test/components/caching/test_url_cache_checker.py
imports: import pytest
  from haystack import Document, DeserializationError
  from haystack.testing.factory import document_store_class
  from haystack.document_stores.in_memory import InMemoryDocumentStore
  from haystack.components.caching.cache_checker import CacheChecker
label_desc: Use image node_id 5 for calling the TestCacheChecker obj's underlying member method code with example usage: obj.test_from_dict_without_docstore_type() without return types