public function testApiRemoveRoute_RemovesRoute_WhenRouteDoesExist()
{
$server = $this->createServer();
$router = $this->createRouter($server);
$route = '/route';
$router->addRoute($route, $this->createComponent());
$this->assertTrue($router->existsRoute($route));
$router->removeRoute($route);
$this->assertFalse($router->existsRoute($route));
}