You are here

public function GroupSequenceTest::testGetExpectsExistingKey in Plug 7

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

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/GroupSequenceTest.php, line 70

Class

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

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

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