You are here

protected function AbstractConstraintValidatorTest::buildViolation in Plug 7

Parameters

$message:

Return value

ConstraintViolationAssertion

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/AbstractConstraintValidatorTest.php, line 403

Class

AbstractConstraintValidatorTest
@since 2.5.3

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

protected function buildViolation($message) {
  return new ConstraintViolationAssertion($this->context, $message, $this->constraint);
}