function testRegexOptionalParameters()
{
$this->router->map('/@controller/@method(/@id:[0-9]+)', function ($controller, $method, $id) {
echo "{$controller},{$method},{$id}";
});
$this->request->url = '/user/delete/123';
$this->check('user,delete,123');
}