public function startAuthenticationSetsTheCorrectValuesInTheResponseObjectIfUriIsSpecified()
{
$request = Request::create(new Uri('http://robertlemke.com/admin'));
$response = new Response();
$entryPoint = new WebRedirect();
$entryPoint->setOptions(['uri' => 'some/page']);
$entryPoint->startAuthentication($request, $response);
$this->assertEquals('303', substr($response->getStatus(), 0, 3));
$this->assertEquals('http://robertlemke.com/some/page', $response->getHeader('Location'));
}