Neos\Flow\Tests\Functional\Reflection\ReflectionServiceTest::methodParameterTypeExpansionWorksWithRelativeClassName PHP Метод

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

    public function methodParameterTypeExpansionWorksWithRelativeClassName()
    {
        $methodParameters = $this->reflectionService->getMethodParameters(Reflection\Fixtures\Model\EntityWithUseStatements::class, 'relativeClassName');
        $expectedType = Reflection\Fixtures\Model\SubEntity::class;
        $actualType = $methodParameters['parameter']['type'];
        $this->assertSame($expectedType, $actualType);
    }