예제 #1
0
 /**
  * @group uses_internet
  */
 public function testShouldNotInterceptCallWhenDisabled()
 {
     $this->soapHook->disable();
     $client = new \SoapClient('http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL', array('soap_version' => SOAP_1_2));
     $client->setLibraryHook($this->soapHook);
     $actual = $client->GetCityWeatherByZIP(array('ZIP' => '10013'));
     $this->assertInstanceOf('\\stdClass', $actual, 'Response was not returned.');
 }