public function AbstractReaderTest::testMethodSyntaxErrorContext

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

File

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

Class

AbstractReaderTest

Namespace

Doctrine\Tests\Common\Annotations

Code

public function testMethodSyntaxErrorContext() {
  $reader = $this
    ->getReader();
  $reader
    ->getMethodAnnotations(new \ReflectionMethod('Doctrine\\Tests\\Common\\Annotations\\DummyClassMethodSyntaxError', 'foo'));
}