You are here

public function AutoExpireFlashBagTest::testSetAll in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Tests/Session/Flash/AutoExpireFlashBagTest.php \Symfony\Component\HttpFoundation\Tests\Session\Flash\AutoExpireFlashBagTest::testSetAll()

File

vendor/symfony/http-foundation/Tests/Session/Flash/AutoExpireFlashBagTest.php, line 132

Class

AutoExpireFlashBagTest
AutoExpireFlashBagTest.

Namespace

Symfony\Component\HttpFoundation\Tests\Session\Flash

Code

public function testSetAll() {
  $this->bag
    ->setAll(array(
    'a' => 'first',
    'b' => 'second',
  ));
  $this
    ->assertFalse($this->bag
    ->has('a'));
  $this
    ->assertFalse($this->bag
    ->has('b'));
}