<commit_before><?php

namespace OpenCFP\Test\Util;

use Exception;

/**
 * @group wip
 */
class ImmutableTest extends \PHPUnit_Framework_TestCase
{

    /** @test */
    public function it_throws_exception_when_assignment_is_made_after_construction()
    {
        $object = new ImmutableObject('Foo');

        $this->assertEquals('Foo', $object->value);

        $this->setExpectedException(Exception::class, 'ImmutableObject is immutable.');
        $object->value = 'Bar';
    }
}
<commit_msg>Remove wip test group marker<commit_after><?php

namespace OpenCFP\Test\Util;

use Exception;

class ImmutableTest extends \PHPUnit_Framework_TestCase
{

    /** @test */
    public function it_throws_exception_when_assignment_is_made_after_construction()
    {
        $object = new ImmutableObject('Foo');

        $this->assertEquals('Foo', $object->value);

        $this->setExpectedException(Exception::class, 'ImmutableObject is immutable.');
        $object->value = 'Bar';
    }
}

{'fraction_non_alphanumeric': 0.1286727456940223, 'fraction_numerical': 0.0, 'mean_word_length': 3.796116504854369, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '1868353', 'n_tokens_mistral': 296, 'n_tokens_neox': 289, 'n_words': 54}