コード例 #1
0
ファイル: WorkerTest.php プロジェクト: php-resque/resque
 /**
  * @expectedException \Resque\Component\Core\Exception\ResqueRuntimeException
  */
 public function testCannotSetCurrentJobIfNotNull()
 {
     $this->worker->setCurrentJob(new Job());
     $this->worker->setCurrentJob(new Job());
 }