public function testDeleteMessage() { $queue = $this->queue->createQueue('test'); $queue->send(array(1, 2, 3)); foreach ($queue->receive() as $message) { $queue->deleteMessage($message); } $values = $this->rediska->getList('Zend_Queue_queue_test'); $this->assertEquals(array(), $values); }