public function GroupSequenceTest::testCreateDoctrineStyle in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Tests/Constraints/GroupSequenceTest.php \Symfony\Component\Validator\Tests\Constraints\GroupSequenceTest::testCreateDoctrineStyle()
File
- vendor/
symfony/ validator/ Tests/ Constraints/ GroupSequenceTest.php, line 28
Class
- GroupSequenceTest
- @author Bernhard Schussek <bschussek@gmail.com>
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function testCreateDoctrineStyle() {
$sequence = new GroupSequence(array(
'value' => array(
'Group 1',
'Group 2',
),
));
$this
->assertSame(array(
'Group 1',
'Group 2',
), $sequence->groups);
}