lithium\tests\cases\storage\SessionTest::testSessionConfigReset PHP Méthode

testSessionConfigReset() public méthode

    public function testSessionConfigReset()
    {
        $this->assertTrue(Session::write('key', 'value'));
        $this->assertEqual(Session::read('key'), 'value');
        Session::reset();
        $this->assertEmpty(Session::config());
        $this->assertEmpty(Session::read('key'));
        $this->assertFalse(Session::write('key', 'value'));
    }