Exemple #1
0
 public function testLoadFunctionsShouldLoadResultOfGetFunctions()
 {
     $this->server->setClass('ZendTest\\Json\\TestAsset\\Foo');
     $functions = $this->server->getFunctions();
     $server = new Server\Server();
     $server->loadFunctions($functions);
     $this->assertEquals($functions->toArray(), $server->getFunctions()->toArray());
 }