mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-27 06:04:12 +01:00
- Autoloader for portal files in the itop-portal-base module - Dependencies moved to root composer.json - Add autoloader for /core and /application content
21 lines
759 B
PHP
21 lines
759 B
PHP
<?php
|
|
|
|
namespace Symfony\Bundle\FrameworkBundle\Tests\Routing;
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
use Symfony\Bundle\FrameworkBundle\Controller\ControllerNameParser;
|
|
use Symfony\Bundle\FrameworkBundle\Routing\DelegatingLoader;
|
|
use Symfony\Component\Config\Loader\LoaderResolver;
|
|
|
|
class DelegatingLoaderTest extends TestCase
|
|
{
|
|
public function testConstructorApi()
|
|
{
|
|
$controllerNameParser = $this->getMockBuilder(ControllerNameParser::class)
|
|
->disableOriginalConstructor()
|
|
->getMock();
|
|
new DelegatingLoader($controllerNameParser, new LoaderResolver());
|
|
$this->assertTrue(true, '__construct() takes a ControllerNameParser and LoaderResolverInterface respectively as its first and second argument.');
|
|
}
|
|
}
|