PHP Class ImboUnitTest\RouterTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: imbo/imbo

Méthodes publiques

Méthode Description
getInvalidRoutes ( ) : array[] Return invalid routes for the resolve method
getValidRoutes ( ) : array[] Returns valid routes for the router
setUp ( ) Set up the router instance
tearDown ( ) Tear down the router instance
testCanBeATeaPot ( )
testCanMatchValidRoutes ( $route, $resource, $user = null, $imageIdentifier = null, $extension = null )
testThrowsExceptionOnUnsupportedHttpMethod ( )
testThrowsExceptionWhenNoRouteMatches ( $route )

Method Details

getInvalidRoutes() public méthode

Return invalid routes for the resolve method
public getInvalidRoutes ( ) : array[]
Résultat array[]

getValidRoutes() public méthode

Returns valid routes for the router
public getValidRoutes ( ) : array[]
Résultat array[]

setUp() public méthode

Set up the router instance
public setUp ( )

tearDown() public méthode

Tear down the router instance
public tearDown ( )

testCanBeATeaPot() public méthode

public testCanBeATeaPot ( )

testCanMatchValidRoutes() public méthode

public testCanMatchValidRoutes ( $route, $resource, $user = null, $imageIdentifier = null, $extension = null )

testThrowsExceptionOnUnsupportedHttpMethod() public méthode

testThrowsExceptionWhenNoRouteMatches() public méthode