function testValues_ThrowsAlreadyCalled() {
  var query = new lf.query.InsertBuilder(hr.db.getGlobal());

  var job = lf.testing.hrSchemaSampleData.generateSampleJobData(db);
  var buildQuery = function() {
    query.values([job]).values([job]);
  };

  // 521: values() has already been called.
  lf.testing.util.assertThrowsError(521, buildQuery);
}
Tests that Insert#values() fails if values() has already been called.