'Fakes job if creating_job_associations is empty.'

def test_fake_job_hda(self):

    hda = MockHda(job=UNDEFINED_JOB)
    self.history.active_datasets.append(hda)
    (job_dict, warnings) = extract.summarize(trans=self.trans)
    assert (not warnings)
    assert (len(job_dict) == 1)
    fake_job = job_dict.keys()[0]
    assert fake_job.id.startswith('fake_')
    datasets = job_dict.values()[0]
    assert (datasets == [(None, hda)])
