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: test_avoid_object_send_with_dynamic_method.rb
    path of file: ./repos/rubocop-github/test
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require_relative "./cop_test"
require "minitest/autorun"
require "rubocop/cop/github/avoid_object_send_with_dynamic_method"

class TestAvoidObjectSendWithD
    
  def test_offended_by_send_calls_without_receiver
    offenses = investigate cop, <<-RUBY
      send(some_method)
      public_send(@some_ivar)
      __send__(a_variable, "foo", "bar")
    RUBY
    assert_equal 3, offenses.size
    assert_equal "Avoid using Object#send with a dynamic method name.", offenses[0].message
    assert_equal "Avoid using Object#public_send with a dynamic method name.", offenses[1].message
    assert_equal "Avoid using Object#__send__ with a dynamic method name.", offenses[2].message
  end