You are here

public function LegacyValidatorTest::testValidateValueRejectsValid in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Tests/LegacyValidatorTest.php \Symfony\Component\Validator\Tests\LegacyValidatorTest::testValidateValueRejectsValid()

@expectedException \Symfony\Component\Validator\Exception\ValidatorException

File

vendor/symfony/validator/Tests/LegacyValidatorTest.php, line 38

Class

LegacyValidatorTest
@group legacy

Namespace

Symfony\Component\Validator\Tests

Code

public function testValidateValueRejectsValid() {
  $this->validator
    ->validateValue(new Entity(), new Valid());
}