You are here

public function AutoExpireFlashBagTest::testClear in Zircon Profile 8.0

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

File

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

Class

AutoExpireFlashBagTest
AutoExpireFlashBagTest.

Namespace

Symfony\Component\HttpFoundation\Tests\Session\Flash

Code

public function testClear() {
  $this
    ->assertEquals(array(
    'notice' => array(
      'A previous flash message',
    ),
  ), $this->bag
    ->clear());
}