public function testSetTtl() { $queue = new CM_Queue('ttl'); $queue->push('foo'); $queue->setTtl(0); $this->assertSame(false, $queue->pop()); }