/** * @return void */ protected function setSoapEndPoint() { $this->soapClient->setLocation($this->loginResult->getServerUrl()); }
/** * @expectedException \RuntimeException */ public function testShouldThrowsExceptionGetServerInstanceWithInvalidServerUrl() { $this->setProperty('serverUrl', "https://foo.bar.com"); $this->testClass->getServerInstance(); }