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: request_attributes_test.rb
    path of file: ./repos/newrelic-ruby-agent/test/new_relic/agent/transaction
    
    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-
    
        def test_agent_attributes_on_transaction_with_default_config
          in_transaction do |txn|
            attrs = RequestAttributes.new(RACK_REQUEST)
            attrs.assign_agent_attributes(txn)
            txn_attrs = txn.attributes.agent_attributes_for(NewRelic::Agent::AttributeFilter::DST_TRANSACTION_TRACER)
            BASE_HEADERS_MAP.values do |definition|
              agent_attr = definition[:agent_attribute]
              next unless agent_attr

              assert_equal definition[:value],
                txn_attrs[agent_attr],
                "Agent attribute '#{agent_attr}' had value '#{txn_attrs[agent_attr]}' instead of " +
                  "'#{definition[:value]}'"
            end
          end
        end