public function testSimpleRedirectEmpty()
{
if (phpversion('xdebug') === false) {
$this->markTestSkipped('No xdebug support enabled.');
}
$app = $this->getApp();
$this->expectOutputRegex('/Redirecting to/i');
$redirect = Library::simpleredirect('', false);
$this->assertContains('location: /', xdebug_get_headers());
}