public function HeaderBagTest::testCount 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::testCount()
@covers Symfony\Component\HttpFoundation\HeaderBag::count
File
- vendor/
symfony/ http-foundation/ Tests/ HeaderBagTest.php, line 209
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testCount() {
$headers = array(
'foo' => 'bar',
'HELLO' => 'WORLD',
);
$headerBag = new HeaderBag($headers);
$this
->assertEquals(count($headers), count($headerBag));
}