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: import_spec_helper.rb
    path of file: ./repos/gitlabhq/spec/support/helpers
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require 'ostruct'

# Helper methods for controller specs 
    
  def stub_client(messages = {})
    client = double('client', messages).as_null_object
    allow(controller).to receive(:client).and_return(client)

    client
  end

  def stub_omniauth_provider(name)
    provider = ActiveSupport::InheritableOptions.new(
      name: name,
      app_id: 'asd123',
      app_secret: 'asd123'
    )
    stub_omniauth_setting(providers: [provider])
  end
end