use Symfony\Component\Validator\Constraints\BicValidator;
use Symfony\Component\Validator\Exception\ConstraintDefinitionException;
use Symfony\Component\Validator\Exception\UnexpectedValueException;
use Symfony\Component\Validator\Mapping\ClassMetadata;
use Symfony\Component\Validator\Mapping\Loader\AttributeLoader;
use Symfony\Component\Validator\Test\ConstraintValidatorTestCase;
class BicValidatorTest extends ConstraintValidatorTestCase
{ protected function createValidator(): BicValidator
{ return new BicValidator();
} public function testNullIsValid() { $this->validator->
validate(null,
new Bic());
$this->
assertNoViolation();
} public function testEmptyStringIsValid() {