<commit_before><?php
namespace Aliance\Compressor\Tests;

use Aliance\Compressor\Compressor;
use PHPUnit\Framework\TestCase;

class CompressorTest extends TestCase
{
    /**
     * @var Compressor
     */
    private $Compressor;

    /**
     * @covers \Aliance\Compressor\Compressor::__construct
     */
    public function testCompressorCreation()
    {
        $this->assertInstanceOf(Compressor::class, $this->Compressor);
    }

    /**
     * @covers \Aliance\Compressor\Compressor::compress
     * @covers \Aliance\Compressor\Compressor::decompress
     * @dataProvider getValuesDataProvider
     * @param mixed $value
     */
    public function testCompressorBase($value)
    {
        $this->assertSame(
            $value,
            $this->Compressor->decompress(<commit_msg>Use FQCN for PHP 5.4- support.<commit_after><?php
namespace Aliance\Compressor\Tests;

use Aliance\Compressor\Compressor;
use PHPUnit\Framework\TestCase;

class CompressorTest extends TestCase
{
    /**
     * @var Compressor
     */
    private $Compressor;

    /**
     * @covers \Aliance\Compressor\Compressor::__construct
     */
    public function testCompressorCreation()
    {
        $this->assertInstanceOf('\Aliance\Compressor\Compressor', $this->Compressor);
    }

    /**
     * @covers \Aliance\Compressor\Compressor::compress
     * @covers \Aliance\Compressor\Compressor::decompress
     * @dataProvider getValuesDataProvider
     * @param mixed $value
     */
    public function testCompressorBase($value)
    {
        $this->assertSame(
            $value,
            $this->Compressor->decompress(
{'fraction_non_alphanumeric': 0.11801242236024845, 'fraction_numerical': 0.0012422360248447205, 'mean_word_length': 2.854066985645933, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, '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': '2194242', 'n_tokens_mistral': 509, 'n_tokens_neox': 470, 'n_words': 78}