public function testDelete()
 {
     // First call returns true when the queue exists
     $this->assertTrue($this->provider->delete(123));
     // Second call catches exception and returns true when the queue
     // does not exists
     $this->assertTrue($this->provider->delete(456));
     // Last call throws an exception if there is an exception outside
     // of a HTTP 404
     $this->setExpectedException('Exception');
     $this->provider->delete(789);
 }