PHP Class eZ\Publish\Core\MVC\Symfony\Security\Tests\EventListener\SecurityListenerTest

Inheritance: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
Show file Open project: ezsystems/ezpublish-kernel Class Usage Examples

Protected Properties

Property Type Description
$authChecker PHPUnit_Framework_MockObject_MockObject
$configResolver PHPUnit_Framework_MockObject_MockObject
$eventDispatcher PHPUnit_Framework_MockObject_MockObject
$listener eZ\Publish\Core\MVC\Symfony\Security\EventListener\SecurityListener
$repository PHPUnit_Framework_MockObject_MockObject
$tokenStorage Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface | PHPUnit_Framework_MockObject_MockObject

Public Methods

Method Description
testCheckSiteAccessNoSiteAccess ( )
testCheckSiteAccessNotEzUser ( )
testCheckSiteAccessPermissionDenied ( )
testCheckSiteAccessPermissionGranted ( )
testGetSubscribedEvents ( )
testOnInteractiveLogin ( )
testOnInteractiveLoginAlreadyEzUser ( )
testOnInteractiveLoginNotUserObject ( )
testOnKernelRequestAccessDenied ( )
testOnKernelRequestAccessGranted ( )
testOnKernelRequestLoginRoute ( )
testOnKernelRequestNoSiteAccess ( )
testOnKernelRequestNullToken ( )
testOnKernelRequestSubRequest ( )
testOnKernelRequestSubRequestFragment ( )

Protected Methods

Method Description
generateListener ( )
setUp ( )

Method Details

generateListener() protected method

protected generateListener ( )

setUp() protected method

protected setUp ( )

testCheckSiteAccessNoSiteAccess() public method

testCheckSiteAccessNotEzUser() public method

testCheckSiteAccessPermissionDenied() public method

testCheckSiteAccessPermissionGranted() public method

testGetSubscribedEvents() public method

testOnInteractiveLogin() public method

testOnInteractiveLoginAlreadyEzUser() public method

testOnInteractiveLoginNotUserObject() public method

testOnKernelRequestAccessDenied() public method

testOnKernelRequestAccessGranted() public method

testOnKernelRequestLoginRoute() public method

testOnKernelRequestNoSiteAccess() public method

testOnKernelRequestNullToken() public method

testOnKernelRequestSubRequest() public method

testOnKernelRequestSubRequestFragment() public method

Property Details

$authChecker protected property

protected PHPUnit_Framework_MockObject_MockObject $authChecker
return PHPUnit_Framework_MockObject_MockObject

$configResolver protected property

protected PHPUnit_Framework_MockObject_MockObject $configResolver
return PHPUnit_Framework_MockObject_MockObject

$eventDispatcher protected property

protected PHPUnit_Framework_MockObject_MockObject $eventDispatcher
return PHPUnit_Framework_MockObject_MockObject

$listener protected property

protected SecurityListener,eZ\Publish\Core\MVC\Symfony\Security\EventListener $listener
return eZ\Publish\Core\MVC\Symfony\Security\EventListener\SecurityListener

$repository protected property

protected PHPUnit_Framework_MockObject_MockObject $repository
return PHPUnit_Framework_MockObject_MockObject

$tokenStorage protected property

protected AuthorizationCheckerInterface,Symfony\Component\Security\Core\Authorization|PHPUnit_Framework_MockObject_MockObject $tokenStorage
return Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface | PHPUnit_Framework_MockObject_MockObject