use Symfony\Component\Validator\Constraint;
use Symfony\Component\Validator\Constraints\EqualTo;
use Symfony\Component\Validator\Constraints\EqualToValidator;
/**
* @author Daniel Holmes <daniel@danielholmes.org>
*/
class EqualToValidatorTest extends AbstractComparisonValidatorTestCase
{ protected function createValidator(): EqualToValidator
{ return new EqualToValidator();
} protected static function createConstraint(array
$options = null
): Constraint
{ return new EqualTo($options);
} protected function getErrorCode(): ?string
{ return EqualTo::NOT_EQUAL_ERROR;
}