public function AbstractReaderTest::testClassSyntaxErrorContext

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

File

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

Class

AbstractReaderTest

Namespace

Doctrine\Tests\Common\Annotations

Code

public function testClassSyntaxErrorContext() {
  $reader = $this
    ->getReader();
  $reader
    ->getClassAnnotations(new \ReflectionClass('Doctrine\\Tests\\Common\\Annotations\\DummyClassSyntaxError'));
}