You are here

public function ClassMetadataTest::testGroupSequencesFailIfNotContainingDefaultGroup in Plug 7

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Mapping/ClassMetadataTest.php, line 223

Class

ClassMetadataTest

Namespace

Symfony\Component\Validator\Tests\Mapping

Code

public function testGroupSequencesFailIfNotContainingDefaultGroup() {
  $this
    ->setExpectedException('Symfony\\Component\\Validator\\Exception\\GroupDefinitionException');
  $this->metadata
    ->setGroupSequence(array(
    'Foo',
    'Bar',
  ));
}