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: package_spec.rb
    path of file: ./repos/LicenseFinder/spec/lib/license_finder
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require 'spec_helper'

module LicenseFinder
  describe Package do
    let(:logger) { double('Logger', info: nil, debug: nil) }
    subject do
      described_clas
    
      def stub_license_files(*license_names)
        license_files = license_names.map do |license_name|
          double(:file, license: License.find_by_name(license_name), path: 'some/path')
        end
        allow(LicenseFiles).to receive(:find).with('some/package/path', logger: logger)
                                             .and_return(license_files)
      end