public function DCOM55Test::testAnnotation

File

drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Annotations/Ticket/DCOM55Test.php, line 23

Class

DCOM55Test
@group

Namespace

Doctrine\Tests\Common\Annotations\Ticket

Code

public function testAnnotation() {
  $class = new \ReflectionClass(__NAMESPACE__ . '\\DCOM55Consumer');
  $reader = new \Doctrine\Common\Annotations\AnnotationReader();
  $annots = $reader
    ->getClassAnnotations($class);
  $this
    ->assertEquals(1, count($annots));
  $this
    ->assertInstanceOf(__NAMESPACE__ . '\\DCOM55Annotation', $annots[0]);
}