/** * */ public function testTimeWaits() { $this->resultStore->setWait(4); $task = $this->rhubarb->sendTask('test.task', array(2, 2)); $this->resultStore->setNextResult($this->getSuccesfulResult('SUCCESS', $task->getId())); $task->delay(); $this->assertEquals(2105, $task->get()); }