ChainFactoryTest
extends TestCase
in package
FinalYes
Attributes
- #[CoversClass]
- \phpDocumentor\Reflection\Middleware\ChainFactory::class
Table of Contents
Methods
- testItCreatesAChainOfCallablesThatWillInvokeAllMiddlewares() : void
- testItThrowsAnExceptionIfAnythingOtherThanAMiddlewareIsPassed() : void
- givenAMiddleware() : Middleware
Methods
testItCreatesAChainOfCallablesThatWillInvokeAllMiddlewares()
public
testItCreatesAChainOfCallablesThatWillInvokeAllMiddlewares() : void
testItThrowsAnExceptionIfAnythingOtherThanAMiddlewareIsPassed()
public
testItThrowsAnExceptionIfAnythingOtherThanAMiddlewareIsPassed() : void
givenAMiddleware()
private
givenAMiddleware(string $exampleValue) : Middleware
Parameters
- $exampleValue : string