@group DDC-1660 @group regression
public function testInvalidAnnotationButIgnored() {
$reader = $this
->getReader();
$class = new \ReflectionClass('Doctrine\\Tests\\Common\\Annotations\\Fixtures\\ClassDDC1660');
$this
->assertTrue(class_exists('Doctrine\\Tests\\Common\\Annotations\\Fixtures\\Annotation\\Version'));
$this
->assertCount(0, $reader
->getClassAnnotations($class));
$this
->assertCount(0, $reader
->getMethodAnnotations($class
->getMethod('bar')));
$this
->assertCount(0, $reader
->getPropertyAnnotations($class
->getProperty('foo')));
}