protected function FlashBagTest::setUp

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/Session/Flash/FlashBagTest.php, line 34

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);
}