File
- drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Annotations/AbstractReaderTest.php, line 249
Class
- AbstractReaderTest
Namespace
Doctrine\Tests\Common\Annotations
Code
public function testImportWithConcreteAnnotation() {
$reader = $this
->getReader();
$property = new \ReflectionProperty('Doctrine\\Tests\\Common\\Annotations\\TestImportWithConcreteAnnotation', 'field');
$annotations = $reader
->getPropertyAnnotations($property);
$this
->assertEquals(1, count($annotations));
$this
->assertNotNull($reader
->getPropertyAnnotation($property, 'Doctrine\\Tests\\Common\\Annotations\\DummyAnnotation'));
}