tests/Routing/RouterTest.php
/**
     * Tests that a GET route is properly generated with all needed properties.
     */
Tests that a GET route is properly generated with all needed properties.
Tests that a GET route is properly generated with all needed properties .
public function testGenerateGetRoute()
    {
        $route = $this->router->createGetRoute('/', array($this, 'closure'));
        $this->assertBasicRoute($route, 'GET');
    }
public function testGenerateGetRoute ( ) { $ route = $ this -> router -> createGetRoute ( '/' , array ( $ this , 'closure' ) ) ; $ this -> assertBasicRoute ( $ route , 'GET' ) ; }
Tests that a GET route is properly generated with all needed properties.
Tests that a GET route is properly generated with all needed properties .