/**
* @covers OneLogin_Saml2_Utils::setSelfHost
*/
public function testSetselfhost()
{
$_SERVER['HTTP_HOST'] = 'example.org';
$this->assertEquals('example.org', OneLogin_Saml2_Utils::getSelfHost());
OneLogin_Saml2_Utils::setSelfHost('example.com');
$this->assertEquals('example.com', OneLogin_Saml2_Utils::getSelfHost());
}