public function testExec() { $this->assertNull($this->manager->nextQueue()); $this->assertTrue($this->manager->createProcess(null)); $this->manager->setMaxProcesses(0); $this->assertFalse($this->manager->createProcess("test")); }
/** * Pop the next job off of the queue. * * @param string $queue * * @return \Illuminate\Queue\Jobs\Job|null */ public function pop($queue = null) { return $this->manager->nextQueue($queue); }