public function ParameterBagTest::testCount in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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));
}