public function testGetFunctions() { $server = new AutoDiscover(); $server->addFunction('\ZendTest\Soap\TestAsset\TestFunc'); $server->setClass('\ZendTest\Soap\TestAsset\Test'); $functions = $server->getFunctions(); $this->assertEquals( array('ZendTest\Soap\TestAsset\TestFunc', 'testFunc1', 'testFunc2', 'testFunc3', 'testFunc4'), $functions ); }