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: response_content_type_test.rb
    path of file: ./repos/newrelic-ruby-agent/test/multiverse/suites/rack
    
    the code of the file until where you have to start completion: # This file is distributed under New Relic's license terms.
# See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details.
# frozen_string_literal: true

if NewRelic::Agent::Instrumentation::RackHelpers.rack_version_supported?

  require File.join(File.dirname(__FILE__), 'example_app')
  require 'new_relic/rack/browser_monitori
    
    def test_records_response_content_type_if_middleware_tracing_disabled
      with_config(:disable_middleware_instrumentation => true) do
        rsp = get('/', {'override-content-type' => 'application/json'})

        assert_equal('application/json', rsp.headers['Content-Type'])
        assert get_last_analytics_event[2][:'response.headers.contentType']

        rsp = get('/', {'override-content-type' => 'application/xml'})

        assert_equal('application/xml', rsp.headers['Content-Type'])
        assert get_last_analytics_event[2][:'response.headers.contentType']
      end
    end