@Test
public void testGetJobID() {

  JobID jobId = new JobID("1234", 0);
  TaskID taskId = new TaskID(jobId, TaskType.MAP, 0);
  assertSame("TaskID did not store the JobID correctly",
      jobId, taskId.getJobID());
  taskId = new TaskID();
  assertEquals("Job ID was set unexpectedly in default contsructor",
      "", taskId.getJobID().getJtIdentifier());
}