gossi\codegen\tests\parser\TraitParserTest::testFromReflection PHP Method

testFromReflection() public method

public testFromReflection ( )
    public function testFromReflection()
    {
        $expected = Fixtures::createDummyTrait();
        $actual = PhpTrait::fromReflection(new \ReflectionClass('gossi\\codegen\\tests\\fixtures\\DummyTrait'));
        $this->assertEquals($expected, $actual);
    }