You are here

public function GroupSequenceTest::testCount in Plug 7

File

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

Class

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

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testCount() {
  $sequence = new GroupSequence(array(
    'Group 1',
    'Group 2',
  ));
  $this
    ->assertCount(2, $sequence);
}