You are here

public function ConstraintTest::testGetTargetsCanBeArray in Plug 7

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/ConstraintTest.php, line 152

Class

ConstraintTest

Namespace

Symfony\Component\Validator\Tests

Code

public function testGetTargetsCanBeArray() {
  $constraint = new ConstraintA();
  $this
    ->assertEquals(array(
    'property',
    'class',
  ), $constraint
    ->getTargets());
}