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);
 }
Exemple #2
0
 /**
  * @return void
  */
 protected function setSoapEndPoint()
 {
     $this->soapClient->setLocation($this->loginResult->getServerUrl());
 }
 /**
  * {@inheritDoc}
  */
 public function setLocation($location)
 {
     return $this->soapClient->__setLocation($location);
 }