public function IniFileLoaderTest::testIniFileCanBeLoaded in Service Container 7.2
Same name and namespace in other branches
- 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Loader/IniFileLoaderTest.php \Symfony\Component\DependencyInjection\Tests\Loader\IniFileLoaderTest::testIniFileCanBeLoaded()
@covers Symfony\Component\DependencyInjection\Loader\IniFileLoader::__construct @covers Symfony\Component\DependencyInjection\Loader\IniFileLoader::load
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Tests/ Loader/ IniFileLoaderTest.php, line 40
Class
Namespace
Symfony\Component\DependencyInjection\Tests\LoaderCode
public function testIniFileCanBeLoaded() {
$this->loader
->load('parameters.ini');
$this
->assertEquals(array(
'foo' => 'bar',
'bar' => '%foo%',
), $this->container
->getParameterBag()
->all(), '->load() takes a single file name as its first argument');
}