public function testRedirectShouldSet302ResponseStatusByDefault()
{
try {
$this->app->redirect('http://github.com');
$this->fail('HaltException expected');
} catch (Exception\HaltException $e) {
}
$this->assertEquals(302, $this->app->response()->getStatusCode());
}