public function testGetPortWithSchemeWithoutPort() { $uri = new Uri('http', 'www.example.com'); $this->assertNull($uri->getPort()); }