class ValidTest

@author Bernhard Schussek <bschussek@gmail.com>

Hierarchy

  • class \Symfony\Component\Validator\Tests\Constraints\ValidTest extends \Symfony\Component\Validator\Tests\Constraints\PHPUnit_Framework_TestCase

Expanded class hierarchy of ValidTest

File

drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Tests/Constraints/ValidTest.php, line 19

Namespace

Symfony\Component\Validator\Tests\Constraints
View source
class ValidTest extends \PHPUnit_Framework_TestCase {

  /**
   * @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException
   */
  public function testRejectGroupsOption() {
    new Valid(array(
      'groups' => 'foo',
    ));
  }

}

Members