public function testShouldBeAbleToChangeSoapLocation() { $location = 'http://foo.com'; $soapClient = $this->getSoapClientMock(); $soapClient->expects($this->once())->method('__setLocation')->with($location); $client = new SoapClient($soapClient); $client->setLocation($location); }
/** * @return void */ protected function setSoapEndPoint() { $this->soapClient->setLocation($this->loginResult->getServerUrl()); }
/** * {@inheritDoc} */ public function setLocation($location) { return $this->soapClient->__setLocation($location); }