You are here

public function PropertyMetadataTest::testInvalidPropertyName in Zircon Profile 8

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

File

vendor/symfony/validator/Tests/Mapping/PropertyMetadataTest.php, line 22

Class

PropertyMetadataTest

Namespace

Symfony\Component\Validator\Tests\Mapping

Code

public function testInvalidPropertyName() {
  $this
    ->setExpectedException('Symfony\\Component\\Validator\\Exception\\ValidatorException');
  new PropertyMetadata(self::CLASSNAME, 'foobar');
}