<commit_before><?php


require_once 'PHPUnit/Framework/TestCase.php';

ini_set('include_path', ini_get('include_path'.PATH_SEPARATOR.'../../../library/'));

require_once 'RestClientMock.php';
require_once 'EngineBlock/ServiceRegistry.php';


// TODO: replace the calls with a mock rest server, currently tests against
// actual content in Ivo's janus db.

/**
 * EngineBlock_ServiceRegistry test case.
 */
class EngineBlock_ServiceRegistryTest extends PHPUnit_Framework_TestCase 
{<commit_msg>Replaced require by autoloading<commit_after><?php

require_once(dirname(__FILE__) . '/../../autoloading.inc.php');
require_once 'PHPUnit/Framework/TestCase.php';

require_once 'RestClientMock.php';


// TODO: replace the calls with a mock rest server, currently tests against
// actual content in Ivo's janus db.

/**
 * EngineBlock_ServiceRegistry test case.
 */
class EngineBlock_ServiceRegistryTest extends PHPUnit_Framework_TestCase 
{
{'fraction_non_alphanumeric': 0.1157556270096463, 'fraction_numerical': 0.0, 'mean_word_length': 5.35374149659864, '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': '2884507', 'n_tokens_mistral': 274, 'n_tokens_neox': 268, 'n_words': 69}