public function CompositeTest::testValidCantBeNested in Plug 7
@expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Constraints/ CompositeTest.php, line 131
Class
- CompositeTest
- @since 2.6 @author Bernhard Schussek <bschussek@gmail.com>
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function testValidCantBeNested() {
new ConcreteComposite(array(
new Valid(),
));
}