You are here

public function AllTest::testRejectValidConstraint in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/validator/Tests/Constraints/AllTest.php \Symfony\Component\Validator\Tests\Constraints\AllTest::testRejectValidConstraint()

@expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException

File

vendor/symfony/validator/Tests/Constraints/AllTest.php, line 35

Class

AllTest
@author Bernhard Schussek <bschussek@gmail.com>

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testRejectValidConstraint() {
  new All(array(
    new Valid(),
  ));
}