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

renewIdThrowsExceptionIfCalledOnRemoteSession() public method

    public function renewIdThrowsExceptionIfCalledOnRemoteSession()
    {
        $storageIdentifier = '6e988eaa-7010-4ee8-bfb8-96ea4b40ec16';
        $session = new Session('ZPjPj3A0Opd7JeDoe7rzUQYCoDMcxscb', $storageIdentifier, 1354293259, []);
        $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->renewId();
    }
SessionTest