public function AbstractReaderTest::testClassWithAnnotationWithTargetSyntaxErrorAtPropertyDocBlock

@expectedException Doctrine\Common\Annotations\AnnotationException @expectedExceptionMessage Expected namespace separator or identifier, got ')' at position 24 in class @Doctrine\Tests\Common\Annotations\Fixtures\AnnotationWithTargetSyntaxError.

File

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

Class

AbstractReaderTest

Namespace

Doctrine\Tests\Common\Annotations

Code

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