public function AutoExpireFlashBagTest::testPeekAll in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/Session/Flash/AutoExpireFlashBagTest.php \Symfony\Component\HttpFoundation\Tests\Session\Flash\AutoExpireFlashBagTest::testPeekAll()
File
- vendor/
symfony/ http-foundation/ Tests/ Session/ Flash/ AutoExpireFlashBagTest.php, line 101
Class
- AutoExpireFlashBagTest
- AutoExpireFlashBagTest.
Namespace
Symfony\Component\HttpFoundation\Tests\Session\FlashCode
public function testPeekAll() {
$array = array(
'new' => array(
'notice' => 'Foo',
'error' => 'Bar',
),
);
$this->bag
->initialize($array);
$this
->assertEquals(array(
'notice' => 'Foo',
'error' => 'Bar',
), $this->bag
->peekAll());
$this
->assertEquals(array(
'notice' => 'Foo',
'error' => 'Bar',
), $this->bag
->peekAll());
}