public function ConstraintTest::testGetTargetsCanBeArray in Plug 7
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ ConstraintTest.php, line 152
Class
Namespace
Symfony\Component\Validator\TestsCode
public function testGetTargetsCanBeArray() {
$constraint = new ConstraintA();
$this
->assertEquals(array(
'property',
'class',
), $constraint
->getTargets());
}