public function AbstractReaderTest::testPropertySyntaxErrorContext

@expectedException Doctrine\Common\Annotations\AnnotationException @expectedExceptionMessage Expected namespace separator or identifier, got ')' at position 18 in property Doctrine\Tests\Common\Annotations\DummyClassPropertySyntaxError::$foo.

File

drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Annotations/AbstractReaderTest.php, line 225

Class

AbstractReaderTest

Namespace

Doctrine\Tests\Common\Annotations

Code

public function testPropertySyntaxErrorContext() {
  $reader = $this
    ->getReader();
  $reader
    ->getPropertyAnnotations(new \ReflectionProperty('Doctrine\\Tests\\Common\\Annotations\\DummyClassPropertySyntaxError', 'foo'));
}