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: compatibility_checker_spec.rb
    path of file: ./repos/dependabot-core/nuget/spec/dependabot/nuget/update_checker
    
    the code of the file until where you have to start completion: # typed: false
# frozen_string_literal: true

require "spec_helper"
require "dependabot/dependency"
require "dependabot/nuget/update_checker/compatibility_checker"
require "dependabot/nuget/update_checker/repository_finder"
require "dependabot/nuget/update_checker/tfm_finder"

RSpec.describe Dependabot::Nuget::CompatibilityChecker do
  subject(:checker) do
    described_class.new(
      dependency_urls: dependency_urls,
      dependency: dependency,
      tfm_finder: tfm_find
    
      def create_nupkg_with_lib_contents(package_name, nuspec_contents, lib_subdirectories)
        content = Zip::OutputStream.write_buffer do |zio|
          zio.put_next_entry("#{package_name}.nuspec")
          zio.write(nuspec_contents)

          zio.put_next_entry("lib/") # some zip files have an empty directory object entry

          lib_subdirectories.each do |lib|
            zio.put_next_entry("lib/#{lib}/_._")
            zio.write("fake contents")
          end
        end
        content.rewind
        content.sysread
      end