public function ConstraintTest::testGroupsAreConvertedToArray in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/validator/Tests/ConstraintTest.php \Symfony\Component\Validator\Tests\ConstraintTest::testGroupsAreConvertedToArray()
File
- vendor/
symfony/ validator/ Tests/ ConstraintTest.php, line 120
Class
Namespace
Symfony\Component\Validator\TestsCode
public function testGroupsAreConvertedToArray() {
$constraint = new ConstraintA(array(
'groups' => 'Foo',
));
$this
->assertEquals(array(
'Foo',
), $constraint->groups);
}