Ejemplo n.º 1
0
 /**
  * methodHelp() test
  *
  * Call as method call
  *
  * Expects:
  * - method:
  *
  * Returns: string
  */
 public function testMethodHelp()
 {
     $help = $this->_server->methodHelp('system.methodHelp', 'system.listMethods');
     $this->assertContains('Display help message for an XMLRPC method', $help);
     $this->setExpectedException('Zend\\XmlRpc\\Server\\Exception\\ExceptionInterface', 'Method "foo" does not exist');
     $this->_server->methodHelp('foo');
 }