function checkGetSetValue_MultipleTables(tables) {
  var rows = new Array(10);
  for (var i = 0; i < rows.length; i++) {
    rows[i] = lf.Row.create();
  }

  var tableNames = tables.map(function(table) {
    return table.getEffectiveName();
  });

  var relation = lf.proc.Relation.fromRows(rows, tableNames);
  relation.entries.forEach(function(entry) {
    assertTrue(goog.object.isEmpty(entry.row.payload()));

    // Tests setting the value when no previous value is specified.
    var field1 = 'Hello';
    entry.setField(tables[0]['name'], field1);
    var field2 = 'World';
    entry.setField(tables[1]['name'], field2);
    assertPopulated(
        entry, tables[0]['name'], field1, /* isPrefixApplied */ true);
    assertPopulated(
        entry, tables[1]['name'], field2, /* isPrefixApplied */ true);

    // Tests setting the value when a previous value is specified.
    var field3 = 'olleH';
    entry.setField(tables[0]['name'], field3);
    var field4 = 'dlroW';
    entry.setField(tables[1]['name'], field4);
    assertPopulated(
        entry, tables[0]['name'], field3, /* isPrefixApplied */ true);
    assertPopulated(
        entry, tables[1]['name'], field4, /* isPrefixApplied */ true);
  });
}
@param {!Array<!lf.schema.Table>} tables