public function FileLocatorTest::testLocateWithGlobalResourcePath in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-kernel/Tests/Config/FileLocatorTest.php \Symfony\Component\HttpKernel\Tests\Config\FileLocatorTest::testLocateWithGlobalResourcePath()
File
- vendor/
symfony/ http-kernel/ Tests/ Config/ FileLocatorTest.php, line 36
Class
Namespace
Symfony\Component\HttpKernel\Tests\ConfigCode
public function testLocateWithGlobalResourcePath() {
$kernel = $this
->getMock('Symfony\\Component\\HttpKernel\\KernelInterface');
$kernel
->expects($this
->atLeastOnce())
->method('locateResource')
->with('@BundleName/some/path', '/global/resource/path', false);
$locator = new FileLocator($kernel, '/global/resource/path');
$locator
->locate('@BundleName/some/path', null, false);
}