You are here

public function SessionTest::testSet in Zircon Profile 8

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

@dataProvider setProvider

File

vendor/symfony/http-foundation/Tests/Session/SessionTest.php, line 90

Class

SessionTest
SessionTest.

Namespace

Symfony\Component\HttpFoundation\Tests\Session

Code

public function testSet($key, $value) {
  $this->session
    ->set($key, $value);
  $this
    ->assertEquals($value, $this->session
    ->get($key));
}