lithium\tests\cases\net\http\RouterTest::testRouteContinuationsWithQueryString PHP Method

testRouteContinuationsWithQueryString() public method

    public function testRouteContinuationsWithQueryString()
    {
        Router::connect('/{:args}/page-{:page:[\\d]+}', array(), array('continue' => true));
        Router::connect('/hello/world', 'Hello::world');
        $expected = '/hello/world/page-2?foo=bar';
        $result = Router::match(array('Hello::world', 'page' => 2, '?' => array('foo' => 'bar')));
        $this->assertEqual($expected, $result);
    }
RouterTest