PHP Class SebastiaanLuca\Router\Tests\ExtendedRouterTest

Inheritance: extends TestCase
Afficher le fichier Open project: sebastiaanluca/laravel-router

Méthodes publiques

Méthode Description
testDefaultRouterGotSwappedWithExtendedRouter ( )
testItAddsMiddlewareToANamedRoute ( )
testItAddsMiddlewareToANamedRouteUsingAWildcard ( )
testItAddsPreviouslyRegisteredMiddlewareToRoutes ( ) After bootstrapping the service providers, the registered (but not yet applied) middleware should be added to the corresponding routes.
testItFiltersOutDuplicateMiddlewareWhenRegistering ( )
testItRegistersMiddleware ( )
testItRegistersMiddlewareForMultipleRoutes ( )
testItRegistersMultipleMiddleware ( )
testRouteFacadeGotSwappedWithExtendedRouter ( )

Méthodes protégées

Méthode Description
createExtendedRouter ( boolean $partial = true ) : Mockery\MockInterface Create a new router.

Method Details

createExtendedRouter() protected méthode

Create a new router.
protected createExtendedRouter ( boolean $partial = true ) : Mockery\MockInterface
$partial boolean
Résultat Mockery\MockInterface

testDefaultRouterGotSwappedWithExtendedRouter() public méthode

testItAddsMiddlewareToANamedRoute() public méthode

testItAddsMiddlewareToANamedRouteUsingAWildcard() public méthode

testItAddsPreviouslyRegisteredMiddlewareToRoutes() public méthode

After bootstrapping the service providers, the registered (but not yet applied) middleware should be added to the corresponding routes.

testItFiltersOutDuplicateMiddlewareWhenRegistering() public méthode

testItRegistersMiddleware() public méthode

testItRegistersMiddlewareForMultipleRoutes() public méthode

testItRegistersMultipleMiddleware() public méthode

testRouteFacadeGotSwappedWithExtendedRouter() public méthode