public function NamespacedAttributeBagTest::testClear

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/Session/Attribute/NamespacedAttributeBagTest.php, line 146

Class

NamespacedAttributeBagTest
Tests NamespacedAttributeBag

Namespace

Symfony\Component\HttpFoundation\Tests

Code

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