public function GroupSequenceTest::testUnsetIgnoresNonExistingKeys in Plug 7
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Constraints/ GroupSequenceTest.php, line 77
Class
- GroupSequenceTest
- @author Bernhard Schussek <bschussek@gmail.com>
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function testUnsetIgnoresNonExistingKeys() {
$sequence = new GroupSequence(array(
'Group 1',
'Group 2',
));
// should not fail
unset($sequence[2]);
}