You are here

public function AttributeBagTest::testClear in Zircon Profile 8

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

File

vendor/symfony/http-foundation/Tests/Session/Attribute/AttributeBagTest.php, line 151

Class

AttributeBagTest
Tests AttributeBag.

Namespace

Symfony\Component\HttpFoundation\Tests\Session\Attribute

Code

public function testClear() {
  $this->bag
    ->clear();
  $this
    ->assertEquals(array(), $this->bag
    ->all());
}