class IdenticalToValidatorTest extends AbstractComparisonValidatorTestCase
{ protected function createValidator(): IdenticalToValidator
{ return new IdenticalToValidator();
} protected static function createConstraint(array
$options = null
): Constraint
{ return new IdenticalTo($options);
} protected function getErrorCode(): ?string
{ return IdenticalTo::NOT_IDENTICAL_ERROR;
} public static function provideAllValidComparisons(): array
{ $timezone =
date_default_timezone_get();
date_default_timezone_set('UTC'
);