class ValidTest in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Tests/Constraints/ValidTest.php \Symfony\Component\Validator\Tests\Constraints\ValidTest
@author Bernhard Schussek <bschussek@gmail.com>
Hierarchy
- class \Symfony\Component\Validator\Tests\Constraints\ValidTest extends \Symfony\Component\Validator\Tests\Constraints\PHPUnit_Framework_TestCase
Expanded class hierarchy of ValidTest
File
- vendor/
symfony/ validator/ Tests/ Constraints/ ValidTest.php, line 19
Namespace
Symfony\Component\Validator\Tests\ConstraintsView source
class ValidTest extends \PHPUnit_Framework_TestCase {
/**
* @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException
*/
public function testRejectGroupsOption() {
new Valid(array(
'groups' => 'foo',
));
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ValidTest:: |
public | function | @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException |