You are here

protected function FlashBagTest::setUp in Zircon Profile 8.0

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

File

vendor/symfony/http-foundation/Tests/Session/Flash/FlashBagTest.php, line 33

Class

FlashBagTest
FlashBagTest.

Namespace

Symfony\Component\HttpFoundation\Tests\Session\Flash

Code

protected function setUp() {
  parent::setUp();
  $this->bag = new FlashBag();
  $this->array = array(
    'notice' => array(
      'A previous flash message',
    ),
  );
  $this->bag
    ->initialize($this->array);
}