BetterReflectionTest\Reflection\ReflectionClassTest::testGetDocComment PHP Метод

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

public testGetDocComment ( )
    public function testGetDocComment()
    {
        $reflector = new ClassReflector($this->getComposerLocator());
        $classInfo = $reflector->reflect('\\BetterReflectionTest\\Fixture\\ExampleClass');
        $this->assertContains('Some comments here', $classInfo->getDocComment());
    }
ReflectionClassTest