<commit_before><?php namespace Orchestra\Tests;

\Bundle::start('orchestra');

class ResourcesTest extends \PHPUnit_Framework_TestCase {

	/**
	 * Stub instance.
	 *
	 * @var  Orchestra\Resources
	 */
	private $stub = null;

	/**
	 * Setup the test environment.
	 */
	public function setUp()
	{
		set_path('app', \Bundle::path('orchestra').'tests'.DS.'fixtures'.DS.'application'.DS);

		\Config::set('application.index', '');
		\Config::set('application.url', 'http://localhost/');

		\Orchestra\Facile::$templates = array(
			'default' => \IoC::resolve('\Orchestra\Facile\Template'),
		);

		$this->stub = \Orchestra\Resources::make('stub', array(
			'name' => 'ResourceStub',<commit_msg>Fixed invalid assertion<commit_after><?php namespace Orchestra\Tests;

\Bundle::start('orchestra');

class ResourcesTest extends \PHPUnit_Framework_TestCase {

	/**
	 * Stub instance.
	 *
	 * @var  Orchestra\Resources
	 */
	private $stub = null;

	/**
	 * Setup the test environment.
	 */
	public function setUp()
	{
		set_path('app', \Bundle::path('orchestra').'tests'.DS.'fixtures'.DS.'application'.DS);

		\Config::set('application.index', '');
		\Config::set('application.url', 'http://localhost/');

		\Orchestra\Facile::$templates = array(
			'default' => \IoC::resolve('\Orchestra\Facile\Template\Base'),
		);

		$this->stub = \Orchestra\Resources::make('stub', array(
			'name' => 'ResourceStub',
{'fraction_non_alphanumeric': 0.19885139985642497, 'fraction_numerical': 0.0, 'mean_word_length': 4.361538461538461, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '1858072', 'n_tokens_mistral': 476, 'n_tokens_neox': 462, 'n_words': 73}