namespace Symfony\Component\Validator\Tests\Constraints;
use Symfony\Component\Validator\Constraints\Isin;
use Symfony\Component\Validator\Constraints\IsinValidator;
use Symfony\Component\Validator\Constraints\Luhn;
use Symfony\Component\Validator\Test\ConstraintValidatorTestCase;
class IsinValidatorTest extends ConstraintValidatorTestCase
{ protected function createValidator(): IsinValidator
{ return new IsinValidator();
} public function testNullIsValid() { $this->validator->
validate(null,
new Isin());
$this->
assertNoViolation();
} public function testEmptyStringIsValid() {