public function IniFileLoaderTest::testIniFileCanBeLoaded

@covers Symfony\Component\DependencyInjection\Loader\IniFileLoader::__construct @covers Symfony\Component\DependencyInjection\Loader\IniFileLoader::load

File

drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Loader/IniFileLoaderTest.php, line 44

Class

IniFileLoaderTest

Namespace

Symfony\Component\DependencyInjection\Tests\Loader

Code

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');
}