def METHOD_NAME(self):
    data = {"type": "MemoryRetriever", "init_parameters": {"document_store": {"init_parameters": {}}}}
    with pytest.raises(DeserializationError, match="Missing 'type' in document store's serialization data"):
        MemoryRetriever.from_dict(data)