public function testResumedWorkerPicksUpJobs() { $worker = new Worker('*'); $worker->pauseProcessing(); Resque::enqueue('jobs', 'Test_Job'); $worker->work(0); $this->assertEquals(0, Stat::get('processed')); $worker->unPauseProcessing(); $worker->work(0); $this->assertEquals(1, Stat::get('processed')); }