/**
* @test
*/
public function shouldAddGetRoute()
{
//given
GroupedRoute::get('/user/index', 'User#index');
GroupedRoute::get('/user/show/id/:id', 'User#show');
//when
$routes = Route::getRoutes();
//then
Assert::thatArray($routes)->onMethod('getUri')->containsOnly('/api/user/index', '/api/user/show/id/:id');
}