public function testRouteParam()
 {
     $_SERVER['REQUEST_URI'] = '/post/123';
     $_SERVER['REQUEST_METHOD'] = 'GET';
     $this->expectOutputString('pass 123');
     $router = new Router();
     $router->all('/post/([0-9]+)', function ($param) {
         echo "pass {$param}";
     });
     try {
         $router->route();
     } catch (RouteNotFoundException $e) {
         $this->assertTrue(false);
     }
 }