Fixes #9633, Removed dependency to Symfony\Bundle\FrameworkBundle\Tests\TestCase