lithium\tests\cases\storage\session\adapter\PhpTest::testIsStartedNoInit PHP Method

testIsStartedNoInit() public method

public testIsStartedNoInit ( )
    public function testIsStartedNoInit()
    {
        $this->_destroySession(session_name());
        $php = new Php(array('init' => false));
        $result = $php->isStarted();
        $this->assertFalse($result);
        $php = new Php();
        $php->read();
        $result = $php->isStarted();
        $this->assertTrue($result);
    }