public function AttributeBagTest::testGetIterator in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-foundation/Tests/Session/Attribute/AttributeBagTest.php \Symfony\Component\HttpFoundation\Tests\Session\Attribute\AttributeBagTest::testGetIterator()
@covers Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag::getIterator
File
- vendor/
symfony/ http-foundation/ Tests/ Session/ Attribute/ AttributeBagTest.php, line 175
Class
- AttributeBagTest
- Tests AttributeBag.
Namespace
Symfony\Component\HttpFoundation\Tests\Session\AttributeCode
public function testGetIterator() {
$i = 0;
foreach ($this->bag as $key => $val) {
$this
->assertEquals($this->array[$key], $val);
++$i;
}
$this
->assertEquals(count($this->array), $i);
}