public function CallbackValidatorTest::testAnnotationInvocationSingleValued in Plug 7
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Constraints/ CallbackValidatorTest.php, line 323
Class
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function testAnnotationInvocationSingleValued() {
$constraint = new Callback(array(
'value' => 'validateStatic',
));
$this
->assertEquals(new Callback('validateStatic'), $constraint);
}