packages/sql-semantics-mysql/tests/Unit/Statement/Account/Problem/InvalidFactorPairTest.php

1<?php
2
3declare(strict_types=1);
4
5namespace Tests\Unit\Statement\Account\Problem;
6
7use PHPUnit\Framework\Attributes\CoversClass;
8use PHPUnit\Framework\Attributes\Small;
9use PHPUnit\Framework\TestCase;
10use SqlSemantics\Platform\MySql\Statement\Account\Problem\InvalidFactorPair;
11
12#[CoversClass(InvalidFactorPair::class)]
13#[Small]
14final class InvalidFactorPairTest extends TestCase
15{
16    public function testMessageDescribesTheProblem(): void
17    {
18        self::assertSame('The third factor is added before the second (ER_MFA_METHODS_INVALID_ORDER).', (new InvalidFactorPair(false))->message());
19    }
20}
21