File
- drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Tests/Constraints/TrueValidatorTest.php, line 43
Class
- TrueValidatorTest
Namespace
Symfony\Component\Validator\Tests\Constraints
Code
public function testTrueIsValid() {
$this->context
->expects($this
->never())
->method('addViolation');
$this->validator
->validate(true, new True());
}