Exemplo n.º 1
0
 /**
  * methodSignature() test
  *
  * Call as method call
  *
  * Expects:
  * - method:
  *
  * Returns: array
  */
 public function testMethodSignature()
 {
     $sig = $this->_server->methodSignature('system.methodSignature');
     $this->assertTrue(is_array($sig));
     $this->assertEquals(1, count($sig), var_export($sig, 1));
     $this->setExpectedException('Zend\\XmlRpc\\Server\\Exception\\ExceptionInterface', 'Method "foo" does not exist');
     $this->_server->methodSignature('foo');
 }