You are here

public function IsFalseValidatorTest::testFalseIsValid in Zircon Profile 8

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

File

vendor/symfony/validator/Tests/Constraints/IsFalseValidatorTest.php, line 37

Class

IsFalseValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testFalseIsValid() {
  $this->validator
    ->validate(false, new IsFalse());
  $this
    ->assertNoViolation();
}