public function testExceptionIsThrownForInvalidNodeValue()
{
$this->emptyDb();
$result = $this->client->run('CREATE (n) RETURN id(n) as id');
$record = $result->firstRecord();
$this->setExpectedException(InvalidArgumentException::class);
$record->nodeValue('id');
}