<commit_before>require 'minitest/autorun'
require 'mocha/setup'
require 'pry'

require File.expand_path('../lib/adobe_connect.rb', File.dirname(__FILE__))

# Shared base tests for some objs
require File.expand_path('lib/adobe_connect/adobe_connect_base_tests.rb', File.dirname(__FILE__))

class AdobeConnectTestCase < MiniTest::Unit::TestCase
  def mock_ac_response(*args)
    resp = mock_response(*args)
    AdobeConnect::Response.new(resp)
  end

  def mock_response(body, code = '200')
    response = mock(:code => code)
    response.expects(:body).returns(body)
    response<commit_msg>Fix deprecation warning in test_helper<commit_after>require 'minitest/autorun'
require 'mocha/setup'
require 'pry'

require File.expand_path('../lib/adobe_connect.rb', File.dirname(__FILE__))

# Shared base tests for some objs
require File.expand_path('lib/adobe_connect/adobe_connect_base_tests.rb', File.dirname(__FILE__))

class AdobeConnectTestCase < Minitest::Test
  def mock_ac_response(*args)
    resp = mock_response(*args)
    AdobeConnect::Response.new(resp)
  end

  def mock_response(body, code = '200')
    response = mock(:code => code)
    response.expects(:body).returns(body)
    response
{'fraction_non_alphanumeric': 0.12217573221757322, 'fraction_numerical': 0.00502092050209205, 'mean_word_length': 5.607734806629834, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4398236', 'n_tokens_mistral': 398, 'n_tokens_neox': 386, 'n_words': 75}