Add exists method to RemoveOldVersionMessageHandlerTest

Introduce the exists method to handle checks for StoredObject or StoredObjectVersion in test cases. This modification ensures consistency and proper exception handling in the testing framework.
This commit is contained in:
2024-09-04 15:18:07 +02:00
parent 0e6b7d76a4
commit 3e5a558cdf

View File

@@ -120,4 +120,9 @@ class DummyStoredObjectManager implements StoredObjectManagerInterface
{
throw new \RuntimeException();
}
public function exists(StoredObject|StoredObjectVersion $document): bool
{
throw new \RuntimeException();
}
}