<commit_before><?php
use Mockery as m;
use Cygnite\Foundation\Collection;

class CollectionTest extends PHPUnit_Framework_TestCase
{
    private $data = [];

    private $collection;
    
    public function setUp()
    {
        $this->data = ['foo' => 'Hello Foo', 'bar' => 'Hello Bar'];

        $this->collection = new Collection($this->data);
    }
    
    public function testCollectionInstance()
    {
        $collection = m::mock('Cygnite\Foundation\Collection');
        $this->assertInstanceOf('Cygnite\Foundation\Collection', $collection);
    }
    
    public function testGetDataCollection()
    {
        $this->assertEmpty(!$this->collection->getData());
        $this->assertEquals($this->data, $this->collection->getData());
    }
    <commit_msg>Removed mock instance from CollectionTest<commit_after><?php
use Mockery as m;
use Cygnite\Foundation\Collection;

class CollectionTest extends PHPUnit_Framework_TestCase
{
    private $data = [];

    private $collection;
    
    public function setUp()
    {
        $this->data = ['foo' => 'Hello Foo', 'bar' => 'Hello Bar'];

        $this->collection = new Collection($this->data);
    }
    
    public function testCollectionInstance()
    {
        $this->assertInstanceOf('Cygnite\Foundation\Collection', $this->collection);
    }
    
    public function testGetDataCollection()
    {
        $this->assertEmpty(!$this->collection->getData());
        $this->assertEquals($this->data, $this->collection->getData());
    }
    
{'fraction_non_alphanumeric': 0.14428191489361702, 'fraction_numerical': 0.0, 'mean_word_length': 3.1232876712328768, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 30, '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': '2756275', 'n_tokens_mistral': 421, 'n_tokens_neox': 417, 'n_words': 84}