You are here

protected function MetadataBagTest::setUp in Zircon Profile 8

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

File

vendor/symfony/http-foundation/Tests/Session/Storage/MetadataBagTest.php, line 31

Class

MetadataBagTest
Test class for MetadataBag.

Namespace

Symfony\Component\HttpFoundation\Tests\Session\Storage

Code

protected function setUp() {
  $this->bag = new MetadataBag();
  $this->array = array(
    MetadataBag::CREATED => 1234567,
    MetadataBag::UPDATED => 12345678,
    MetadataBag::LIFETIME => 0,
  );
  $this->bag
    ->initialize($this->array);
}