use Symfony\Component\Validator\Constraints\ExpressionLanguageSyntaxValidator;
use Symfony\Component\Validator\Mapping\ClassMetadata;
use Symfony\Component\Validator\Mapping\Loader\AttributeLoader;
/**
* @group legacy
*/
class ExpressionLanguageSyntaxTest extends TestCase
{ public function testValidatedByStandardValidator() { $constraint =
new ExpressionLanguageSyntax();
self::
assertSame(ExpressionLanguageSyntaxValidator::
class,
$constraint->
validatedBy());
} /**
* @dataProvider provideServiceValidatedConstraints
*/
public function testValidatedByService(ExpressionLanguageSyntax
$constraint) { self::
assertSame('my_service',
$constraint->
validatedBy());
}