You are here

public function IsTrueValidatorTest::testTrueIsValid in Plug 7

File

lib/Symfony/validator/Symfony/Component/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();
}