public function ParameterBagTest::testCount in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-foundation/Tests/ParameterBagTest.php \Symfony\Component\HttpFoundation\Tests\ParameterBagTest::testCount()
@covers Symfony\Component\HttpFoundation\ParameterBag::count
File
- vendor/
symfony/ http-foundation/ Tests/ ParameterBagTest.php, line 246
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testCount() {
$parameters = array(
'foo' => 'bar',
'hello' => 'world',
);
$bag = new ParameterBag($parameters);
$this
->assertEquals(count($parameters), count($bag));
}