public function testGetResponse()
{
$exception = new RedirectResponseException('http://example.org');
$this->assertInstanceOf('Symfony\\Component\\HttpFoundation\\Response', $exception->getResponse());
$this->assertEquals(303, $exception->getResponse()->getStatusCode());
$this->assertEquals('http://example.org', $exception->getResponse()->headers->get('Location'));
}