[TASK] Use name-resolution instead of strings where possible: 17
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Tests / Unit / Validation / ValidatorResolverTest.php
index df11467..ae01050 100644 (file)
@@ -169,7 +169,7 @@ class ValidatorResolverTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        public function createValidatorThrowsNoSuchValidatorExceptionIfAValidatorCouldNotBeResolved() {
                $this->markTestSkipped('');
                $className = uniqid('Test');
-               $this->setExpectedException('\\TYPO3\\CMS\\Extbase\\Validation\\Exception\NoSuchValidatorException', '', 1365799920);
+               $this->setExpectedException(\TYPO3\CMS\Extbase\Validation\Exception\NoSuchValidatorException::class, '', 1365799920);
                $this->validatorResolver->createValidator($className);
        }