예제 #1
0
 /**
  * @covers \PG\JsonRpc\Server::run
  */
 public function testRun()
 {
     $this->setExpectedException('PG\\JsonRpc\\Exception\\InvalidRequest');
     $this->server = new Server();
     $this->server->run();
 }
예제 #2
0
<?php

use PG\JsonRpc\Server;
include __DIR__ . '/vendor/autoload.php';
$server = new Server();
$server->run();