function DocParserTest::testNotAnAnnotationClassIsIgnoredWithoutWarning
@group DCOM-168
File
- 
              core/tests/ Drupal/ Tests/ Component/ Annotation/ Doctrine/ DocParserTest.php, line 1015 
Class
- DocParserTest
- @coversDefaultClass \Drupal\Component\Annotation\Doctrine\DocParser[[api-linebreak]]
Namespace
Drupal\Tests\Component\Annotation\DoctrineCode
public function testNotAnAnnotationClassIsIgnoredWithoutWarning() {
  $parser = new DocParser();
  $parser->setIgnoreNotImportedAnnotations(true);
  $parser->setIgnoredAnnotationNames(array(
    'PHPUnit_Framework_TestCase' => true,
  ));
  $result = $parser->parse('@PHPUnit_Framework_TestCase');
  $this->assertCount(0, $result);
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
