def pop(opts = { manual_ack: false }, &block)
      if BunnyMock.use_bunny_queue_pop_api
        bunny_pop(opts, &block)
      else
        warn '[DEPRECATED] This behavior is deprecated - please set `BunnyMock::use_bunny_queue_pop_api` to true to use Bunny Queue#pop behavior'
        @messages.shift
      end
    end
def pop(opts = { manual_ack: false }, &block)
      if BunnyMock.use_bunny_queue_pop_api
        bunny_pop(opts, &block)
      else
        warn '[DEPRECATED] This behavior is deprecated - please set `BunnyMock::use_bunny_queue_pop_api` to true to use Bunny Queue#pop behavior'
        @messages.shift
      end
    end
Get oldest message in queue

 @return [Hash] Message data
 @api public