public function testRedirectNoSafe()
{
if (phpversion('xdebug') === false) {
$this->markTestSkipped('No xdebug support enabled.');
}
$app = $this->getApp();
$handler = new UtilsHandler($app);
$this->expectOutputRegex('/Redirecting to/i');
$handler->redirect('/clippy/koala', false);
$this->assertContains('location: /clippy/koala', xdebug_get_headers());
}