def queue(name = '', opts = {})
      queue = @connection.find_queue(name) || Queue.new(self, name, opts)
      @connection.register_queue queue
    end
def queue(name = '', opts = {})
      queue = @connection.find_queue(name) || Queue.new(self, name, opts)
      @connection.register_queue queue
    end
@endgroup
 @group Queue API

 Create a new {BunnyMock::Queue} instance, or find in channel cache

 @param [String] name Name of queue
 @param [Hash] opts Queue creation options

 @return [BunnyMock::Queue] Queue that was mocked or looked up
 @api public