tests/Routing/RouterTest.php
/**
     * Tests that an any route is properly generated with all needed properties.
     */
Tests that an any route is properly generated with all needed properties.
Tests that an any route is properly generated with all needed properties .
public function testGenerateAnyRoute()
    {
        $route = $this->router->createAnyRoute('/', array($this, 'closure'));
        $this->assertBasicRoute($route, Router::$verbs);
    }
public function testGenerateAnyRoute ( ) { $ route = $ this -> router -> createAnyRoute ( '/' , array ( $ this , 'closure' ) ) ; $ this -> assertBasicRoute ( $ route , Router :: $ verbs ) ; }
Tests that an any route is properly generated with all needed properties.
Tests that an any route is properly generated with all needed properties .