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

resumeOnAStartedSessionDoesNotDoAnyHarm() public method

Assures that no exception is thrown if a session is resumed.
    public function resumeOnAStartedSessionDoesNotDoAnyHarm()
    {
        $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();
        $session->resume();
        $this->assertTrue(true);
    }
SessionTest