public function testRetrieveRetrievesPortFromGlobalServer() { $_SERVER = ['SERVER_PORT' => '443']; $this->assertSame(443, UriPortFactory::retrieve()); }