PHP Класс Neos\Flow\Tests\Functional\Session\SessionManagementTest

Наследование: extends Neos\Flow\Tests\FunctionalTestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

aSessionCanBeStartedInAFunctionalTest() публичный Метод

See bug #43590

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() публичный Метод

public setUp ( ) : void
Результат void