You are here

public function NamespacedAttributeBagTest::testClear in Zircon Profile 8.0

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

File

vendor/symfony/http-foundation/Tests/Session/Attribute/NamespacedAttributeBagTest.php, line 156

Class

NamespacedAttributeBagTest
Tests NamespacedAttributeBag.

Namespace

Symfony\Component\HttpFoundation\Tests\Session\Attribute

Code

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