public function testGetFunctions() { $server = new Zend_Soap_AutoDiscover(); $server->addFunction('Zend_Soap_AutoDiscover_TestFunc'); $server->setClass('Zend_Soap_AutoDiscover_Test'); $functions = $server->getFunctions(); $this->assertEquals(array('Zend_Soap_AutoDiscover_TestFunc', 'testFunc1', 'testFunc2', 'testFunc3', 'testFunc4'), $functions); }