You are here

public function ConstraintTest::testGetTargetsCanBeString in Plug 7

File

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

Class

ConstraintTest

Namespace

Symfony\Component\Validator\Tests

Code

public function testGetTargetsCanBeString() {
  $constraint = new ClassConstraint();
  $this
    ->assertEquals('class', $constraint
    ->getTargets());
}