@author Bernhard Schussek <bschussek@gmail.com>
Expanded class hierarchy of AllTest
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(),
));
}
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AllTest:: |
public | function | @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException | |
AllTest:: |
public | function | @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException |