You are here

public function SessionTest::testGet in Zircon Profile 8.0

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

File

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

Class

SessionTest
SessionTest.

Namespace

Symfony\Component\HttpFoundation\Tests\Session

Code

public function testGet() {

  // tests defaults
  $this
    ->assertNull($this->session
    ->get('foo'));
  $this
    ->assertEquals(1, $this->session
    ->get('foo', 1));
}