public function testRemovingExtraSlashes()
{
$this->specify('Removing extra slashes does not work as expected', function ($route, $paths) {
$router = $this->getRouter();
$router->removeExtraSlashes(true);
$router->handle($route);
expect($router->wasMatched())->true();
expect($router->getControllerName())->equals($paths['controller']);
expect($router->getActionName())->equals($paths['action']);
}, ['examples' => $this->extraSlashesProvider()]);
}