@expectedException Doctrine\Common\Annotations\AnnotationException @expectedExceptionMessage The annotation "@Foo\Bar\Name" in property Doctrine\Tests\Common\Annotations\TestNonExistentAnnotationClass::$field was never imported.
public function testImportDetectsNonExistentAnnotation() {
$reader = $this
->getReader();
$reader
->getPropertyAnnotations(new \ReflectionProperty('Doctrine\\Tests\\Common\\Annotations\\TestNonExistentAnnotationClass', 'field'));
}