/** * @test */ public function priorityIsHigherThanDefaultRequestHandler() { $defaultWebRequestHandler = $this->getMock(\TYPO3\CMS\Extbase\Mvc\Web\AbstractRequestHandler::class, array('handleRequest'), array(), '', false); $this->assertTrue($this->widgetRequestHandler->getPriority() > $defaultWebRequestHandler->getPriority()); }
/** * @test */ public function priorityIsHigherThanDefaultRequestHandler() { $defaultWebRequestHandler = $this->getMock('TYPO3\\CMS\\Extbase\\Mvc\\Web\\AbstractRequestHandler', array('handleRequest'), array(), '', FALSE); $this->assertTrue($this->widgetRequestHandler->getPriority() > $defaultWebRequestHandler->getPriority()); }