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