You are here

class ValidTest in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Tests/Constraints/ValidTest.php \Symfony\Component\Validator\Tests\Constraints\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

vendor/symfony/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