public function testNodeIsReturned()
{
$query = 'CREATE (n:Node) RETURN n';
$record1 = $this->client->run($query, [], null, 'http')->firstRecord();
$this->assertInstanceOf(Node::class, $record1->get('n'));
$this->assertInstanceOf(HttpNode::class, $record1->get('n'));
$record2 = $this->client->run($query, [], null, 'bolt')->firstRecord();
$this->assertInstanceOf(Node::class, $record2->get('n'));
$this->assertInstanceOf(BoltNode::class, $record2->get('n'));
}