Method |
Description |
|
noUserProvider ( ) : array |
Provides the data for the user-less tests. |
|
scopeBagProvider ( ) : array |
Provides the data for the testSessionReplacedOnKernelRequest() method. |
|
scopeTableProvider ( ) : array |
Provides the data for the testSessionStoredOnKernelResponse() method. |
|
testInstantiation ( ) |
Tests the object instantiation. |
|
testListenerSkipIfNoContaoUserOnKernelRequest ( ) |
Tests that the session bag is not requested if there is no Contao user upon kernel.request. |
|
testListenerSkipIfNoContaoUserOnKernelResponse ( ) |
Tests that neither the session bag nor doctrine is requested if there is no Contao user upon kernel.response. |
|
testListenerSkipIfNoUserOnKernelRequest ( AnonymousToken $noUserReturn = null ) |
Tests that the session bag is not requested when there is no user. |
|
testListenerSkipIfNoUserOnKernelResponse ( AnonymousToken $noUserReturn = null ) |
Tests that neither the session bag nor doctrine is requested when there is no user. |
|
testListenerSkipUponSubRequestOnKernelRequest ( ) |
Tests that the session bag is not requested upon a sub request. |
|
testListenerSkipUponSubRequestOnKernelResponse ( ) |
Tests that neither the session bag nor doctrine is requested upon a sub request. |
|
testSessionReplacedOnKernelRequest ( string $scope, string $userClass, string $sessionBagName ) |
Tests that the session is replaced upon kernel.request. |
|
testSessionStoredOnKernelResponse ( string $scope, string $userClass, string $userTable ) |
Tests that the session is stored upon kernel.response. |
|