public function CollectionTest::testRejectInvalidFieldsOption in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/validator/Tests/Constraints/CollectionTest.php \Symfony\Component\Validator\Tests\Constraints\CollectionTest::testRejectInvalidFieldsOption()
@expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException
File
- vendor/
symfony/ validator/ Tests/ Constraints/ CollectionTest.php, line 28
Class
- CollectionTest
- @author Bernhard Schussek <bschussek@gmail.com>
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function testRejectInvalidFieldsOption() {
new Collection(array(
'fields' => 'foo',
));
}