public function DocParserTest::testIgnorePHPDocThrowTag

@group DCOM-14

File

drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Annotations/DocParserTest.php, line 992

Class

DocParserTest

Namespace

Doctrine\Tests\Common\Annotations

Code

public function testIgnorePHPDocThrowTag() {
  $docblock = <<<DOCBLOCK
/**
 * @throws \\RuntimeException
 */
class A {
}
DOCBLOCK;
  try {
    $parser = $this
      ->createTestParser();
    $result = $parser
      ->parse($docblock);
  } catch (Exception $e) {
    $this
      ->fail($e
      ->getMessage());
  }
}