‪TYPO3CMS  11.5
RequestHandlerConfigurationFactoryTest.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /*
6  * This file is part of the TYPO3 CMS project.
7  *
8  * It is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU General Public License, either version 2
10  * of the License, or any later version.
11  *
12  * For the full copyright and license information, please read the
13  * LICENSE.txt file that was distributed with this source code.
14  *
15  * The TYPO3 project - inspiring people to share!
16  */
17 
19 
21 use TYPO3\CMS\Core\Package\PackageManager;
24 use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase;
25 
26 class ‪RequestHandlerConfigurationFactoryTest extends FunctionalTestCase
27 {
31  protected ‪$initializeDatabase = false;
32 
37  {
38  $configuration = (new ‪RequestHandlersConfigurationFactory(new ‪NullFrontend('extbase'), $this->get(PackageManager::class), 'PackageDependentCacheIdentifier'))
39  ->createRequestHandlersConfiguration();
40 
41  self::assertSame(
42  [
43  FrontendRequestHandler::class,
44  ],
45  $configuration->getRegisteredRequestHandlers()
46  );
47  }
48 }
‪TYPO3\CMS\Extbase\Tests\Functional\Configuration\RequestHandlerConfigurationFactoryTest
Definition: RequestHandlerConfigurationFactoryTest.php:27
‪TYPO3\CMS\Extbase\Configuration\RequestHandlersConfigurationFactory
Definition: RequestHandlersConfigurationFactory.php:28
‪TYPO3\CMS\Core\Cache\Frontend\NullFrontend
Definition: NullFrontend.php:29
‪TYPO3\CMS\Extbase\Tests\Functional\Configuration\RequestHandlerConfigurationFactoryTest\$initializeDatabase
‪bool $initializeDatabase
Definition: RequestHandlerConfigurationFactoryTest.php:30
‪TYPO3\CMS\Extbase\Mvc\Web\FrontendRequestHandler
Definition: FrontendRequestHandler.php:29
‪TYPO3\CMS\Extbase\Tests\Functional\Configuration
Definition: BackendConfigurationManagerTest.php:18
‪TYPO3\CMS\Extbase\Tests\Functional\Configuration\RequestHandlerConfigurationFactoryTest\requestHandlerConfigurationFactoryLoadsRequestHandlersOfExtbaseAndFluid
‪requestHandlerConfigurationFactoryLoadsRequestHandlersOfExtbaseAndFluid()
Definition: RequestHandlerConfigurationFactoryTest.php:35