public function NotNullValidatorTest::testValidValues

@dataProvider getValidValues

File

drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Tests/Constraints/NotNullValidatorTest.php, line 38

Class

NotNullValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testValidValues($value) {
  $this->context
    ->expects($this
    ->never())
    ->method('addViolation');
  $this->validator
    ->validate($value, new NotNull());
}