You are here

public function BlankValidatorTest::testBlankIsValid in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/validator/Tests/Constraints/BlankValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\BlankValidatorTest::testBlankIsValid()

File

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

Class

BlankValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testBlankIsValid() {
  $this->validator
    ->validate('', new Blank());
  $this
    ->assertNoViolation();
}