You are here

public function NotNullValidatorTest::testValidValues in Zircon Profile 8.0

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

@dataProvider getValidValues

File

vendor/symfony/validator/Tests/Constraints/NotNullValidatorTest.php, line 33

Class

NotNullValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testValidValues($value) {
  $this->validator
    ->validate($value, new NotNull());
  $this
    ->assertNoViolation();
}