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