You are here

public function AllTest::testRejectNonConstraints in Zircon Profile 8

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

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

File

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

Class

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

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testRejectNonConstraints() {
  new All(array(
    'foo',
  ));
}