You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: http_requester_test.rb
    path of file: ./repos/algoliasearch-client-ruby/test/algolia/unit
    
    the code of the file until where you have to start completion: require 'algolia'
require 'test_helper'

class HttpRequesterTest
  describe 'connection' do
    def test_caches_http_client_connections
      requester = Algolia::Http::HttpRequester.n
    
    def test_caches_http_client_connections
      requester = Algolia::Http::HttpRequester.new(Defaults::ADAPTER, nil)
      host1     = Algolia::Transport::StatefulHost.new('host1')

      # rubocop:disable Lint/UselessComparison
      assert requester.connection(host1) == requester.connection(host1)
      # rubocop:enable Lint/UselessComparison
      assert_equal requester.connection(host1).url_prefix.host, 'host1'
    end