<commit_before><?php

namespace Blablacar\RedisBundle\Tests\DataCollector;

use Blablacar\RedisBundle\Tests\TestCase;
use Blablacar\RedisBundle\DataCollector\RedisDataCollector;

class RedisDataCollectorTest extends TestCase
{
    public function test_it_is_initilizable()
    {
        $this->assertInstanceOf(
            'Blablacar\RedisBundle\DataCollector\RedisDataCollector',
            new RedisDataCollector($client->reveal())
        );<commit_msg>Correct tests<commit_after><?php

namespace Blablacar\RedisBundle\Tests\DataCollector;

use Blablacar\RedisBundle\Tests\TestCase;
use Blablacar\RedisBundle\DataCollector\RedisDataCollector;

class RedisDataCollectorTest extends TestCase
{
    public function test_it_is_initilizable()
    {
        $client = $this->prophet->prophesize('Blablacar\Redis\Client');

        $this->assertInstanceOf(
            'Blablacar\RedisBundle\DataCollector\RedisDataCollector',
            new RedisDataCollector($client->reveal())
        );
{'fraction_non_alphanumeric': 0.09504550050556117, 'fraction_numerical': 0.0, 'mean_word_length': 4.26595744680851, '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': '3945783', 'n_tokens_mistral': 317, 'n_tokens_neox': 314, 'n_words': 39}