PhpBench\Tests\Unit\Benchmark\Metadata\Driver\AnnotationDriverTest::testIgnoreCommonAnnotations PHP Метод

testIgnoreCommonAnnotations() публичный Метод

It should ignore common annotations.
    public function testIgnoreCommonAnnotations()
    {
        $reflection = new ReflectionClass();
        $reflection->class = 'Test';
        $reflection->comment = <<<'EOT'
/**
 * @since Foo
 * @author Daniel Leech
 */
EOT;
        $hierarchy = new ReflectionHierarchy();
        $hierarchy->addReflectionClass($reflection);
        $this->createDriver()->getMetadataForHierarchy($hierarchy);
    }