Пример #1
0
 /**
  * @group ZF-10542
  */
 public function testAllowNumericZeroAsValueForCacheWsdlOption()
 {
     $client = new Client();
     $this->assertNull($client->getWsdlCache());
     $options = $client->getOptions();
     $this->assertArrayNotHasKey('cache_wsdl', $options);
     $client->setWsdlCache(WSDL_CACHE_NONE);
     $this->assertSame(WSDL_CACHE_NONE, $client->getWsdlCache());
     $options = $client->getOptions();
     $this->assertSame(WSDL_CACHE_NONE, $options['cache_wsdl']);
     $client->setWsdlCache(null);
     $this->assertNull($client->getWsdlCache());
     $options = $client->getOptions();
     $this->assertArrayNotHasKey('cache_wsdl', $options);
 }