示例#1
0
 public function testUnusedFunctionsOfAutoDiscoverThrowException()
 {
     $server = new Zend_Soap_AutoDiscover();
     try {
         $server->setPersistence("bogus");
         $this->fail();
     } catch (Zend_Soap_AutoDiscover_Exception $e) {
     }
     try {
         $server->fault();
         $this->fail();
     } catch (Zend_Soap_AutoDiscover_Exception $e) {
     }
     try {
         $server->loadFunctions("bogus");
         $this->fail();
     } catch (Zend_Soap_AutoDiscover_Exception $e) {
     }
 }