/** * @group ZF-8478 */ public function testPythonSimpleXMLRPCServerWithUnsupportedMethodSignatures() { try { $introspector = new Zend_XmlRpc_Client_ServerIntrospection(new Test_XmlRpc_Client('http://localhost/')); $signature = $introspector->getMethodSignature('add'); if (!is_array($signature)) { $this->fail('Expected exception has not been thrown'); } } catch (Zend_XmlRpc_Client_IntrospectException $e) { $this->assertEquals('Invalid signature for method "add"', $e->getMessage()); } }
/** * */ public function __construct(Zend_XmlRpc_Client $client, array $ini) { parent::__construct($client); $this->_signitures = $ini; $this->_getSignitures($this->_signitures); }