Esempio n. 1
0
 /**
  * @expectedException \Resque\Component\Core\Exception\ResqueRuntimeException
  */
 public function testCannotSetCurrentJobIfNotNull()
 {
     $this->worker->setCurrentJob(new Job());
     $this->worker->setCurrentJob(new Job());
 }