[TASK] Use name-resolution instead of strings where possible: 3
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Tests / Unit / Scheduler / TaskTest.php
index 102a5fb..7226de5 100644 (file)
@@ -30,8 +30,8 @@ class TaskTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        protected $taskExecutor;
 
        public function setUp() {
-               $this->taskExecutor = $this->getMock('TYPO3\\CMS\\Extbase\\Scheduler\\TaskExecutor', array('execute'), array(), '', FALSE);
-               $this->task = $this->getAccessibleMock('TYPO3\\CMS\\Extbase\\Scheduler\\Task', array('logException', '__wakeup'), array(), '', FALSE);
+               $this->taskExecutor = $this->getMock(\TYPO3\CMS\Extbase\Scheduler\TaskExecutor::class, array('execute'), array(), '', FALSE);
+               $this->task = $this->getAccessibleMock(\TYPO3\CMS\Extbase\Scheduler\Task::class, array('logException', '__wakeup'), array(), '', FALSE);
        }
 
        /**