public function getQueue($channel) { return new Queue($this, $channel); }
public function testDequeueFromNotExistedCollection() { $queue = $this->database->getQueue('some_strange_unexisted_channel'); $this->assertNull($queue->dequeue()); }