src/Concerns/MakesHttpRequests.php
public function assertRedirectedToRoute($name, $parameters = [], $with = [])
    {
        return $this->assertRedirectedTo($this->app['url']->route($name, $parameters), $with);
    }
public function assertRedirectedToRoute($name, $parameters = [], $with = [])
    {
        return $this->assertRedirectedTo($this->app['url']->route($name, $parameters), $with);
    }
public function assertRedirectedToRoute ( $ name , $ parameters = [ ] , $ with = [ ] ) { return $ this -> assertRedirectedTo ( $ this -> app [ 'url' ] -> route ( $ name , $ parameters ) , $ with ) ; }
Assert whether the client was redirected to a given route.

@param  string  $name
@param  array  $parameters
@param  array  $with
@return $this
Assert whether the client was redirected to a given route .