public function testExceptionHandling() { $client = ClientBuilder::create()->addConnection('default', 'bolt://localhost')->build(); $this->setExpectedException(Neo4jException::class); $result = $client->run("CREATE (n:Cool"); }