/**
  * @expectedException        \InvalidArgumentException
  * @expectedExceptionMessage You cannot reschedule a job in the past
  */
 public function testReschedulePastDate()
 {
     $job = new Job(1234, 'data');
     $date = new \DateTime('-1 minute');
     $this->manager->reschedule($job, $date);
 }