public function HeaderBagTest::testConstructor in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/HeaderBagTest.php \Symfony\Component\HttpFoundation\Tests\HeaderBagTest::testConstructor()
@covers Symfony\Component\HttpFoundation\HeaderBag::__construct
File
- vendor/
symfony/ http-foundation/ Tests/ HeaderBagTest.php, line 21
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testConstructor() {
$bag = new HeaderBag(array(
'foo' => 'bar',
));
$this
->assertTrue($bag
->has('foo'));
}