You are here

public function IsTrueValidatorTest::testTrueIsValid in Zircon Profile 8

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

File

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

Class

IsTrueValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testTrueIsValid() {
  $this->validator
    ->validate(true, new IsTrue());
  $this
    ->assertNoViolation();
}