Creates, saves and returns a translation job.
function createJob($source = 'en', $target = 'de', $uid = 1, $values = array()) {
$job = tmgmt_job_create($source, $target, $uid, $values);
$this
->assertEquals(SAVED_NEW, $job
->save());
// Assert that the translator was assigned a tid.
$this
->assertTrue($job
->id() > 0);
return $job;
}