function generateSampleJobData(schema) {
  var jobGenerator =
      new lf.testing.hrSchema.JobDataGenerator(schema);
  var jobCount = 10;
  sampleJobs = jobGenerator.generate(jobCount);

  var employeeGenerator =
      new lf.testing.hrSchema.EmployeeDataGenerator(schema);
  var employeeCount = 2 * jobCount;
  employeeGenerator.setJobCount(jobCount);
  sampleEmployees = employeeGenerator.generate(employeeCount);

  for (var i = 0; i < jobCount; i++) {
    var jobId = sampleJobs[i].getId();
    // Assigning two employees per job.
    sampleEmployees[2 * i].setJobId(jobId);
    sampleEmployees[2 * i + 1].setJobId(jobId);
  }
}
Generates sample job data.
@param {!lf.schema.Database} schema The db schema.