/**
  * Check that a task can be pulled from the queue and held
  * and that it can be unheld correctly
  * 
  * @return void
  * 
  * @test
  */
 public function testGetHeldTask()
 {
     //get the task
     $_task = $this->_getTask();
     //add and then retrieve the task
     $this->_queue->addTask($_task);
     $_task2 = $this->_queue->reserveNextTask();
     //put task on hold
     $this->_queue->hold($_task2);
     //check that it's on hold
     //make sure that this task is reserved
     $this->assertEquals(Lilmuckers_Queue_Model_Queue_Task_State::HELD, $_task2->getInfo(true)->getState(), 'Check that the reserved task is held');
     //kick the held tasks
     $this->_adapter->unholdMultiple(10);
     //check that it's back to being queued
     //make sure that this task is reserved
     $this->assertEquals(Lilmuckers_Queue_Model_Queue_Task_State::QUEUED, $_task2->getInfo(true)->getState(), 'Check that the reserved task is held');
     //delete the task that was set
     $this->_queue->remove($_task2);
 }