public function testGetFunctions() { $server = new Server(__DIR__ . '/TestAsset/wsdl_example.wsdl'); $server->setClass('\ZendTest\Soap\TestAsset\TestClass'); $client = new Client\Local($server, __DIR__ . '/TestAsset/wsdl_example.wsdl'); $this->assertTrue($client->getFunctions() == array('string testFunc()', 'string testFunc2(string $who)', 'string testFunc3(string $who, int $when)', 'string testFunc4()')); }
public function testGetFunctions() { $server = new Server\Server(dirname(__FILE__) . '/_files/wsdl_example.wsdl'); $server->setClass('Zend_Soap_Client_TestClass'); $client = new Client\Local($server, dirname(__FILE__) . '/_files/wsdl_example.wsdl'); $this->assertTrue($client->getFunctions() == array('string testFunc1()', 'string testFunc2(string $who)', 'string testFunc3(string $who, int $when)', 'string testFunc4()')); }