You are here

public function GroupSequenceTest::testLegacyGetExpectsExistingKey in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Tests/Constraints/GroupSequenceTest.php \Symfony\Component\Validator\Tests\Constraints\GroupSequenceTest::testLegacyGetExpectsExistingKey()

@expectedException \Symfony\Component\Validator\Exception\OutOfBoundsException @group legacy

File

vendor/symfony/validator/Tests/Constraints/GroupSequenceTest.php, line 80

Class

GroupSequenceTest
@author Bernhard Schussek <bschussek@gmail.com>

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testLegacyGetExpectsExistingKey() {
  $sequence = new GroupSequence(array(
    'Group 1',
    'Group 2',
  ));
  $sequence[2];
}