public function ClassMapGeneratorTest::testCreateMapFinderSupport in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/class-loader/Tests/ClassMapGeneratorTest.php \Symfony\Component\ClassLoader\Tests\ClassMapGeneratorTest::testCreateMapFinderSupport()
File
- vendor/
symfony/ class-loader/ Tests/ ClassMapGeneratorTest.php, line 127
Class
Namespace
Symfony\Component\ClassLoader\TestsCode
public function testCreateMapFinderSupport() {
$finder = new \Symfony\Component\Finder\Finder();
$finder
->files()
->in(__DIR__ . '/Fixtures/beta/NamespaceCollision');
$this
->assertEqualsNormalized(array(
'NamespaceCollision\\A\\B\\Bar' => realpath(__DIR__) . '/Fixtures/beta/NamespaceCollision/A/B/Bar.php',
'NamespaceCollision\\A\\B\\Foo' => realpath(__DIR__) . '/Fixtures/beta/NamespaceCollision/A/B/Foo.php',
'NamespaceCollision\\C\\B\\Bar' => realpath(__DIR__) . '/Fixtures/beta/NamespaceCollision/C/B/Bar.php',
'NamespaceCollision\\C\\B\\Foo' => realpath(__DIR__) . '/Fixtures/beta/NamespaceCollision/C/B/Foo.php',
), ClassMapGenerator::createMap($finder));
}