Neos\Flow\Tests\Unit\Session\SessionTest::isStartedReturnsTrueAfterSessionHasBeenStarted PHP Method

isStartedReturnsTrueAfterSessionHasBeenStarted() public method

    public function isStartedReturnsTrueAfterSessionHasBeenStarted()
    {
        $session = new Session();
        $this->inject($session, 'bootstrap', $this->mockBootstrap);
        $this->inject($session, 'settings', $this->settings);
        $this->inject($session, 'metaDataCache', $this->createCache('Meta'));
        $this->inject($session, 'storageCache', $this->createCache('Storage'));
        $session->initializeObject();
        $session->start();
        $this->assertTrue($session->isStarted());
    }
SessionTest