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: pcf_test.rb
    path of file: ./repos/newrelic-ruby-agent/test/new_relic/agent/utilization
    
    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

require_relative '../../../test_helper'
require 'new_relic/agent/utilization/pcf'

module NewRelic
  module Agent
    module Utilization
      class PCFTest < Minitest::Test
        def setup
          @vendor = PCF.new
        end

        de
    
        def test_generate_expected_vendors_hash_when_expected_env_vars_present
          with_pcf_env('CF_INSTANCE_GUID' => 'fd326c0e-847e-47a1-65cc-45f6',
            'CF_INSTANCE_IP' => '10.10.149.48',
            'MEMORY_LIMIT'   => '1024m') do
            expected = {
              :cf_instance_guid => 'fd326c0e-847e-47a1-65cc-45f6',
              :cf_instance_ip => '10.10.149.48',
              :memory_limit => '1024m'
            }

            assert @vendor.detect
            assert_equal expected, @vendor.metadata
          end
        end