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