[Doctrine] Fix mocking of Doctrine/DbalLogger