public function testEmptyArraysInTransaction()
{
$query = 'CREATE (a), (b)
MERGE (a)-[r:RELATES]->(b)
SET r += {fields} RETURN id(r) as id';
$params = ['a' => 30, 'b' => 31, 'fields' => []];
$tx = $this->client->transaction('http');
$tx->push($query, $params);
$results = $tx->commit();
$this->assertTrue(is_numeric($results->results()[0]->firstRecord()->get('id')));
}