namespace Symfony\Component\Validator\Tests\Constraints;
use Symfony\Component\Validator\Constraints\Blank;
use Symfony\Component\Validator\Constraints\BlankValidator;
use Symfony\Component\Validator\Test\ConstraintValidatorTestCase;
class BlankValidatorTest extends ConstraintValidatorTestCase
{ protected function createValidator(): BlankValidator
{ return new BlankValidator();
} public function testNullIsValid() { $this->validator->
validate(null,
new Blank());
$this->
assertNoViolation();
} public function testBlankIsValid() {