mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
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:
@@ -120,4 +120,9 @@ class DummyStoredObjectManager implements StoredObjectManagerInterface
|
||||
{
|
||||
throw new \RuntimeException();
|
||||
}
|
||||
|
||||
public function exists(StoredObject|StoredObjectVersion $document): bool
|
||||
{
|
||||
throw new \RuntimeException();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user