# config/services_test.yaml
services:
    App\EventListener\ApiExceptionListener:
        tags:
            - { name: 'kernel.event_subscriber' }
