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

Inheritance: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
Datei anzeigen Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
badRequestExceptionProvider ( )
otherExceptionProvider ( )
testBadRequestException ( Exception $exception )
testGetSubscribedEvents ( )
testNotFoundException ( )
testOtherRepositoryException ( Exception $exception )
testUnauthorizedException ( )
testUntouchedException ( )

Protected Methods

Method Description
setUp ( )

Private Methods

Method Description
generateExceptionEvent ( Exception $exception ) : GetResponseForExceptionEvent

Method Details

badRequestExceptionProvider() public method

otherExceptionProvider() public method

setUp() protected method

protected setUp ( )

testBadRequestException() public method

public testBadRequestException ( Exception $exception )
$exception Exception

testGetSubscribedEvents() public method

testNotFoundException() public method

testOtherRepositoryException() public method

public testOtherRepositoryException ( Exception $exception )
$exception Exception

testUnauthorizedException() public method

testUntouchedException() public method