mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +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:
parent
0e6b7d76a4
commit
3e5a558cdf
@ -120,4 +120,9 @@ class DummyStoredObjectManager implements StoredObjectManagerInterface
|
||||
{
|
||||
throw new \RuntimeException();
|
||||
}
|
||||
|
||||
public function exists(StoredObject|StoredObjectVersion $document): bool
|
||||
{
|
||||
throw new \RuntimeException();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user