public function testRegister()
{
Route::get('hello/:name', 'index/hello');
Route::get(['hello/:name' => 'index/hello']);
Route::post('hello/:name', 'index/post');
Route::put('hello/:name', 'index/put');
Route::delete('hello/:name', 'index/delete');
Route::any('user/:id', 'index/user');
$this->assertEquals(['type' => 'module', 'module' => [null, 'index', 'hello']], Route::check('hello/thinkphp'));
$this->assertEquals(['hello/:name' => ['route' => 'index/hello', 'option' => [], 'pattern' => []]], Route::getRules('GET'));
Route::register('type/:name', 'index/type', 'PUT|POST');
}