gossi\codegen\tests\generator\CodeFileGeneratorTest::testDocblocks PHP Method

testDocblocks() public method

public testDocblocks ( )
    public function testDocblocks()
    {
        $generator = new CodeFileGenerator(['headerComment' => 'hui buuh', 'headerDocblock' => 'woop']);
        $class = new PhpClass('Dummy');
        $code = $generator->generate($class);
        $this->assertEquals($this->getGeneratedContent('Dummy.php'), $code);
    }