You are here

protected function ConstraintViolationListTest::getViolation in Plug 7

6 calls to ConstraintViolationListTest::getViolation()
ConstraintViolationListTest::testAdd in lib/Symfony/validator/Symfony/Component/Validator/Tests/ConstraintViolationListTest.php
ConstraintViolationListTest::testAddAll in lib/Symfony/validator/Symfony/Component/Validator/Tests/ConstraintViolationListTest.php
ConstraintViolationListTest::testArrayAccess in lib/Symfony/validator/Symfony/Component/Validator/Tests/ConstraintViolationListTest.php
ConstraintViolationListTest::testInitWithViolations in lib/Symfony/validator/Symfony/Component/Validator/Tests/ConstraintViolationListTest.php
ConstraintViolationListTest::testIterator in lib/Symfony/validator/Symfony/Component/Validator/Tests/ConstraintViolationListTest.php

... See full list

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/ConstraintViolationListTest.php, line 130

Class

ConstraintViolationListTest

Namespace

Symfony\Component\Validator\Tests

Code

protected function getViolation($message, $root = null, $propertyPath = null) {
  return new ConstraintViolation($message, $message, array(), $root, $propertyPath, null);
}