public function AbstractReaderTest::testNonAnnotationProblem

File

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

Class

AbstractReaderTest

Namespace

Doctrine\Tests\Common\Annotations

Code

public function testNonAnnotationProblem() {
  $reader = $this
    ->getReader();
  $this
    ->assertNotNull($annot = $reader
    ->getPropertyAnnotation(new \ReflectionProperty('Doctrine\\Tests\\Common\\Annotations\\DummyClassNonAnnotationProblem', 'foo'), $name = 'Doctrine\\Tests\\Common\\Annotations\\DummyAnnotation'));
  $this
    ->assertInstanceOf($name, $annot);
}