gossi\codegen\tests\parser\ClassParserTest::testTypeClass PHP Method

testTypeClass() public method

public testTypeClass ( )
    public function testTypeClass()
    {
        $class = PhpClass::fromFile(__DIR__ . '/../fixtures/TypeClass.php');
        $doSomething = $class->getMethod('doSomething');
        $options = $doSomething->getParameter('options');
        $this->assertEquals('Symfony\\Component\\OptionsResolver\\OptionsResolver', $options->getType());
    }