public function testGetBaseUriWithCore() { $this->endpoint->setHost('myserver')->setPath('/mypath')->setPort(123)->setCore('mycore'); $this->assertEquals('http://myserver:123/mypath/mycore/', $this->endpoint->getBaseUri()); }