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); }