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

testEmptyUrlMatching() public method

    public function testEmptyUrlMatching()
    {
        $result = Router::match('');
        $expected = '/';
        $this->assertIdentical($expected, $result);
        $this->assertException('/No parameter match found for URL/', function () {
            Router::match(array());
        });
    }
RouterTest