You are here

public function GetterMetadataTest::testInvalidPropertyName in Zircon Profile 8

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

File

vendor/symfony/validator/Tests/Mapping/GetterMetadataTest.php, line 21

Class

GetterMetadataTest

Namespace

Symfony\Component\Validator\Tests\Mapping

Code

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