You are here

public function GetterMetadataTest::testInvalidPropertyName in Plug 7

File

lib/Symfony/validator/Symfony/Component/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');
}