You are here

protected function AbstractConstraintValidatorTest::expectNoValidate in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Tests/Constraints/AbstractConstraintValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\AbstractConstraintValidatorTest::expectNoValidate()

File

vendor/symfony/validator/Tests/Constraints/AbstractConstraintValidatorTest.php, line 208

Class

AbstractConstraintValidatorTest
@since 2.5.3

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

protected function expectNoValidate() {
  $validator = $this->context
    ->getValidator()
    ->inContext($this->context);
  $validator
    ->expects($this
    ->never())
    ->method('atPath');
  $validator
    ->expects($this
    ->never())
    ->method('validate');
}