ConstraintValidatorTestCase
abstract class ConstraintValidatorTestCase extends TestCase
A test case to ease testing Constraint Validators.
Properties
Methods
Details
protected
setUp()
protected
tearDown()
protected
setDefaultTimezone($defaultTimezone)
Parameters
protected
restoreDefaultTimezone()
protected
createContext()
protected
setGroup($group)
Parameters
protected
setObject($object)
Parameters
protected
setProperty($object, $property)
Parameters
protected
setValue($value)
Parameters
protected
setRoot($root)
Parameters
protected
setPropertyPath($propertyPath)
Parameters
protected
expectNoValidate()
protected
expectValidateAt($i, $propertyPath, $value, $group)
Parameters
| $i | |
| $propertyPath | |
| $value | |
| $group | |
protected
expectValidateValueAt($i, $propertyPath, $value, $constraints, $group = null)
Parameters
| $i | |
| $propertyPath | |
| $value | |
| $constraints | |
| $group | |
protected
assertNoViolation()
Parameters
Return Value
abstract protected
createValidator()