PHP Class PhlyTest\Conduit\NextTest

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

Public Methods

Method Description
setUp ( )
testDoneHandlerIsInvokedWhenQueueIsExhausted ( )
testDoneHandlerReceivesRequestAndResponse ( )
testInvokesHandlerWhenMatched ( )
testInvokesItselfIfRouteDoesNotMatchAtABoundary ( )
testInvokesItselfWhenRouteDoesNotMatchCurrentUrl ( )
testMiddlewareCallingNextWithRequestPassesRequestToNextMiddleware ( )
testMiddlewareCallingNextWithResponseAsFirstArgumentResetsResponse ( )
testMiddlewareCallingNextWithResponseResetsResponse ( )
testMiddlewareReturningResponseShortcircuits ( )
testNextShouldReturnPassedResponseWhenNoReturnValueProvided ( )
testRequestUriInInvokedHandlerDoesNotContainMatchedPortionOfRoute ( )
testSlashAndPathGetResetBeforeExecutingNextMiddleware ( )

Method Details

setUp() public method

public setUp ( )

testDoneHandlerIsInvokedWhenQueueIsExhausted() public method

testDoneHandlerReceivesRequestAndResponse() public method

testInvokesHandlerWhenMatched() public method

testInvokesItselfIfRouteDoesNotMatchAtABoundary() public method

testInvokesItselfWhenRouteDoesNotMatchCurrentUrl() public method

testMiddlewareCallingNextWithRequestPassesRequestToNextMiddleware() public method

testMiddlewareCallingNextWithResponseAsFirstArgumentResetsResponse() public method

testMiddlewareCallingNextWithResponseResetsResponse() public method

testMiddlewareReturningResponseShortcircuits() public method

testNextShouldReturnPassedResponseWhenNoReturnValueProvided() public method

testRequestUriInInvokedHandlerDoesNotContainMatchedPortionOfRoute() public method

testSlashAndPathGetResetBeforeExecutingNextMiddleware() public method