<commit_before><?php

namespace Tests\Money;

use Money\PHPUnit\Comparator;
use Money\Money;
use PHPUnit\Framework\TestCase;

final class ComparatorTest extends TestCase
{
    /**
     * @var Comparator
     */
    protected $comparator;

    protected function setUp()
    {
        parent::setUp();

        $this->comparator = new Comparator();
    }

    /**
     * @test
     */
    public function it_accepts_only_money()
    {
        $money_a = Money::EUR(1);
        $money_b = Money::EUR(2);
<commit_msg>Remove setUp template method (#496)<commit_after><?php

namespace Tests\Money;

use Money\PHPUnit\Comparator;
use Money\Money;
use PHPUnit\Framework\TestCase;

final class ComparatorTest extends TestCase
{
    /**
     * @var Comparator
     */
    protected $comparator;

    protected function setUp()
    {
        $this->comparator = new Comparator();
    }

    /**
     * @test
     */
    public function it_accepts_only_money()
    {
        $money_a = Money::EUR(1);
        $money_b = Money::EUR(2);

{'fraction_non_alphanumeric': 0.125, 'fraction_numerical': 0.0068359375, 'mean_word_length': 2.546712802768166, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6506295', 'n_tokens_mistral': 341, 'n_tokens_neox': 329, 'n_words': 69}