@expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException
File
- drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Tests/Constraints/AllTest.php, line 25
Class
- AllTest
- @author Bernhard Schussek <bschussek@gmail.com>
Namespace
Symfony\Component\Validator\Tests\Constraints
Code
public function testRejectNonConstraints() {
new All(array(
'foo',
));
}