PHP Class Neos\Flow\Tests\Functional\Session\SessionManagementTest

Inheritance: extends Neos\Flow\Tests\FunctionalTestCase
Show file Open project: neos/flow-development-collection

Public Methods

Method Description
aSessionCanBeStartedInAFunctionalTest ( ) Makes sure that the functional base testcase initializes an HTTP request and an HTTP response which can be retrieved from the special request handler by the session initialization in order to retrieve or set the session cookie.
aSessionUsedInAFunctionalTestVirtualBrowserSendsCookiesOnEachRequest ( ) This test makes sure that if a session is used through the HTTP Browser in a functional test, the Session does not have side effects which result, for example, in a cookie sent only at the end of the first request.
getCurrentSessionReturnsTheCurrentlyActiveSession ( ) Checks if getCurrentSessionSession() returns the one and only session which can also be retrieved through Dependency Injection using the SessionInterface.
objectManagerAlwaysReturnsANewSessionInstanceIfClassNameIsSpecified ( )
objectManagerAlwaysReturnsTheSameSessionIfInterfaceIsSpecified ( )
setUp ( ) : void

Method Details

aSessionCanBeStartedInAFunctionalTest() public method

See bug #43590

aSessionUsedInAFunctionalTestVirtualBrowserSendsCookiesOnEachRequest() public method

This test makes sure that if a session is used through the HTTP Browser in a functional test, the Session does not have side effects which result, for example, in a cookie sent only at the end of the first request.

getCurrentSessionReturnsTheCurrentlyActiveSession() public method

Checks if getCurrentSessionSession() returns the one and only session which can also be retrieved through Dependency Injection using the SessionInterface.

objectManagerAlwaysReturnsANewSessionInstanceIfClassNameIsSpecified() public method

objectManagerAlwaysReturnsTheSameSessionIfInterfaceIsSpecified() public method

setUp() public method

public setUp ( ) : void
return void