public function FrozenParameterBagTest::testConstructor in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/Tests/ParameterBag/FrozenParameterBagTest.php \Symfony\Component\DependencyInjection\Tests\ParameterBag\FrozenParameterBagTest::testConstructor()
@covers Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag::__construct
File
- vendor/
symfony/ dependency-injection/ Tests/ ParameterBag/ FrozenParameterBagTest.php, line 21
Class
Namespace
Symfony\Component\DependencyInjection\Tests\ParameterBagCode
public function testConstructor() {
$parameters = array(
'foo' => 'foo',
'bar' => 'bar',
);
$bag = new FrozenParameterBag($parameters);
$this
->assertEquals($parameters, $bag
->all(), '__construct() takes an array of parameters as its first argument');
}