Test case for DoctrineSubscriber