@expectedException Doctrine\Common\Annotations\AnnotationException @expectedExceptionMessage Expected namespace separator or identifier, got ')' at position 24 in class @Doctrine\Tests\Common\Annotations\Fixtures\AnnotationWithTargetSyntaxError.
public function testClassWithAnnotationWithTargetSyntaxErrorAtMethodDocBlock() {
$reader = $this
->getReader();
$reader
->getMethodAnnotations(new \ReflectionMethod('Doctrine\\Tests\\Common\\Annotations\\Fixtures\\ClassWithAnnotationWithTargetSyntaxError', 'bar'));
}