public function AbstractReaderTest::testImportDetectsNotImportedAnnotation

@expectedException Doctrine\Common\Annotations\AnnotationException @expectedExceptionMessage The annotation "@NameFoo" in property Doctrine\Tests\Common\Annotations\TestAnnotationNotImportedClass::$field was never imported.

1 call to AbstractReaderTest::testImportDetectsNotImportedAnnotation()
SimpleAnnotationReaderTest::testImportDetectsNotImportedAnnotation in drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Annotations/SimpleAnnotationReaderTest.php
Contrary to the behavior of the default annotation reader, we do just ignore these in the simple annotation reader (so, no expected exception here).
1 method overrides AbstractReaderTest::testImportDetectsNotImportedAnnotation()
SimpleAnnotationReaderTest::testImportDetectsNotImportedAnnotation in drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Annotations/SimpleAnnotationReaderTest.php
Contrary to the behavior of the default annotation reader, we do just ignore these in the simple annotation reader (so, no expected exception here).

File

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

Class

AbstractReaderTest

Namespace

Doctrine\Tests\Common\Annotations

Code

public function testImportDetectsNotImportedAnnotation() {
  $reader = $this
    ->getReader();
  $reader
    ->getPropertyAnnotations(new \ReflectionProperty('Doctrine\\Tests\\Common\\Annotations\\TestAnnotationNotImportedClass', 'field'));
}