public function PhpParserTest::testNamespaceAndClassCommentedOut

File

drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Annotations/PhpParserTest.php, line 75

Class

PhpParserTest

Namespace

Doctrine\Tests\Common\Annotations

Code

public function testNamespaceAndClassCommentedOut() {
  $parser = new PhpParser();
  $class = new ReflectionClass(__NAMESPACE__ . '\\Fixtures\\NamespaceAndClassCommentedOut');
  $this
    ->assertEquals(array(
    'route' => __NAMESPACE__ . '\\Fixtures\\Annotation\\Route',
    'template' => __NAMESPACE__ . '\\Fixtures\\Annotation\\Template',
  ), $parser
    ->parseClass($class));
}