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