PhpBench\Tests\Unit\Benchmark\Remote\ReflectorTest::testMultipleClassKeywords PHP Method

testMultipleClassKeywords() public method

It should parse a class which has multiple class keywords and return the first declared class.
    public function testMultipleClassKeywords()
    {
        if (version_compare(phpversion(), '5.5', '<')) {
            $this->markTestSkipped();
        }
        $fname = __DIR__ . '/reflector/ClassWithClassKeywords.php';
        $classHierarchy = $this->reflector->reflect($fname);
        $reflection = $classHierarchy->getTop();
        $this->assertEquals('\\Test\\ClassWithClassKeywords', $reflection->class);
    }