<commit_before><commit_msg>Add regression test for helper bug<commit_after>require 'test_helper'

class HelperTest < Test::Unit::TestCase
  include ActiveMerchant::Billing::Integrations

  def test_mappings_gets_initialized
  	helper_klass_without_mappings = Class.new(ActiveMerchant::Billing::Integrations::Helper)
  	# assert_equal Hash.new, helper_klass_without_mappings.mappings

  	assert_nothing_raised { helper_klass_without_mappings.new(123,'some_key', :amount => 500) }
  end
end
{'fraction_non_alphanumeric': 0.08811475409836066, 'fraction_numerical': 0.012295081967213115, 'mean_word_length': 8.226415094339623, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5510327', 'n_tokens_mistral': 159, 'n_tokens_neox': 152, 'n_words': 25}