I have this in my code
throw new \\Exception(\'need id and provider\');
It throws this error in phpunit tests:
Exception: