/** * get/loadFunctions() test */ public function testFunctions() { $expected = $this->_server->listMethods(); $functions = $this->_server->getFunctions(); $server = new Server(); $server->loadFunctions($functions); $actual = $server->listMethods(); $this->assertSame($expected, $actual); }