public function assertRedirectedTo($uri, $with = [])
{
PHPUnit::assertInstanceOf('Illuminate\\Http\\RedirectResponse', $this->response);
PHPUnit::assertEquals($this->app['url']->to($uri), $this->response->headers->get('Location'));
$this->assertSessionHasAll($with);
}