public function setUp() { Test_Job::$called = false; // Register a worker to test with $this->worker = new Resque_Worker('jobs'); $this->worker->registerWorker(); }
public function perform() { self::$called = true; }