/** * @covers \PG\JsonRpc\Server::run */ public function testRun() { $this->setExpectedException('PG\\JsonRpc\\Exception\\InvalidRequest'); $this->server = new Server(); $this->server->run(); }
<?php use PG\JsonRpc\Server; include __DIR__ . '/vendor/autoload.php'; $server = new Server(); $server->run();