<commit_before>require 'abstract_unit'
require 'test/unit'

class FlashCacheOnPrivateMemoizationTest < Test::Unit::TestCase
  ActiveSupport::Deprecation.silence do
    extend ActiveSupport::Memoizable
  end

  def test_public
    assert_method_unmemoizable :pub
  end

  def test_protected
    assert_method_unmemoizable :prot
  end

  def test_private
    assert_method_unmemoizable :priv
  end

  def pub; rand end
  memoize :pub

  protected<commit_msg>make class name consistent with the filename<commit_after>require 'abstract_unit'
require 'test/unit'

class FlushCacheOnPrivateMemoizationTest < Test::Unit::TestCase
  ActiveSupport::Deprecation.silence do
    extend ActiveSupport::Memoizable
  end

  def test_public
    assert_method_unmemoizable :pub
  end

  def test_protected
    assert_method_unmemoizable :prot
  end

  def test_private
    assert_method_unmemoizable :priv
  end

  def pub; rand end
  memoize :pub

  protected
{'fraction_non_alphanumeric': 0.04878048780487805, 'fraction_numerical': 0.0, 'mean_word_length': 4.652694610778443, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '4635663', 'n_tokens_mistral': 300, 'n_tokens_neox': 291, 'n_words': 73}