PHP Class PhlyTest\Conduit\DispatchTest

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: phly/conduit

Public Methods

Method Description
setUp ( )
testHasErrorAndHandleArityIsFourTriggersHandler ( )
testHasErrorAndHandleArityLessThanFourTriggersNextWithError ( )
testIfErrorHandlerReturnsResponseDispatchReturnsTheResponse ( )
testNoErrorAndHandleArityGreaterThanThreeTriggersNext ( )
testNoErrorAndHandleArityLessThanFourTriggersHandler ( )
testReturnsValueFromNonErrorHandler ( )
testThrowingExceptionInErrorHandlerTriggersNextWithException ( )
testThrowingExceptionInNonErrorHandlerTriggersNextWithException ( )

Method Details

setUp() public method

public setUp ( )

testHasErrorAndHandleArityIsFourTriggersHandler() public method

testHasErrorAndHandleArityLessThanFourTriggersNextWithError() public method

testIfErrorHandlerReturnsResponseDispatchReturnsTheResponse() public method

testNoErrorAndHandleArityGreaterThanThreeTriggersNext() public method

testNoErrorAndHandleArityLessThanFourTriggersHandler() public method

testReturnsValueFromNonErrorHandler() public method

testThrowingExceptionInErrorHandlerTriggersNextWithException() public method

testThrowingExceptionInNonErrorHandlerTriggersNextWithException() public method