PHP Class eZ\Bundle\EzPublishCoreBundle\Tests\EventListener\ExceptionListenerTest

Inheritance: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
Afficher le fichier Open project: ezsystems/ezpublish-kernel

Méthodes publiques

Méthode Description
badRequestExceptionProvider ( )
otherExceptionProvider ( )
testBadRequestException ( Exception $exception )
testGetSubscribedEvents ( )
testNotFoundException ( )
testOtherRepositoryException ( Exception $exception )
testUnauthorizedException ( )
testUntouchedException ( )

Méthodes protégées

Méthode Description
setUp ( )

Private Methods

Méthode Description
generateExceptionEvent ( Exception $exception ) : GetResponseForExceptionEvent

Method Details

badRequestExceptionProvider() public méthode

otherExceptionProvider() public méthode

setUp() protected méthode

protected setUp ( )

testBadRequestException() public méthode

public testBadRequestException ( Exception $exception )
$exception Exception

testGetSubscribedEvents() public méthode

testNotFoundException() public méthode

testOtherRepositoryException() public méthode

public testOtherRepositoryException ( Exception $exception )
$exception Exception

testUnauthorizedException() public méthode

testUntouchedException() public méthode