public function testGetBaseUriWithHttps() { $this->endpoint->setScheme('https')->setHost('myserver')->setPath('/mypath')->setPort(123); $this->assertEquals('https://myserver:123/mypath/', $this->endpoint->getBaseUri()); }