PHP Class PhlyTest\Conduit\DispatchTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: phly/conduit

Méthodes publiques

Méthode Description
setUp ( )
testHasErrorAndHandleArityIsFourTriggersHandler ( )
testHasErrorAndHandleArityLessThanFourTriggersNextWithError ( )
testIfErrorHandlerReturnsResponseDispatchReturnsTheResponse ( )
testNoErrorAndHandleArityGreaterThanThreeTriggersNext ( )
testNoErrorAndHandleArityLessThanFourTriggersHandler ( )
testReturnsValueFromNonErrorHandler ( )
testThrowingExceptionInErrorHandlerTriggersNextWithException ( )
testThrowingExceptionInNonErrorHandlerTriggersNextWithException ( )

Method Details

setUp() public méthode

public setUp ( )

testHasErrorAndHandleArityIsFourTriggersHandler() public méthode

testHasErrorAndHandleArityLessThanFourTriggersNextWithError() public méthode

testIfErrorHandlerReturnsResponseDispatchReturnsTheResponse() public méthode

testNoErrorAndHandleArityGreaterThanThreeTriggersNext() public méthode

testNoErrorAndHandleArityLessThanFourTriggersHandler() public méthode

testReturnsValueFromNonErrorHandler() public méthode

testThrowingExceptionInErrorHandlerTriggersNextWithException() public méthode

testThrowingExceptionInNonErrorHandlerTriggersNextWithException() public méthode