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