Zephir\Stubs\DocBlockTest::testDescription PHP Method

testDescription() public method

public testDescription ( )
    public function testDescription()
    {
        $doc = <<<DOC
/**
 * Hello world
 * I am test.
 */
DOC;
        $expected = <<<DOC
    /**
     * Hello world
     * I am test.
     */
DOC;
        $docBlock = new DocBlock($doc);
        $this->assertSame($expected, (string) $docBlock);
    }