gossi\codegen\tests\utils\ReflectionUtilsTest::testGetUnindentedDocComment PHP Method

testGetUnindentedDocComment() public method

    public function testGetUnindentedDocComment()
    {
        $writer = new Writer();
        $comment = $writer->writeln('/**')->indent()->writeln(' * Foo.')->write(' */')->getContent();
        $this->assertEquals("/**\n * Foo.\n */", ReflectionUtils::getUnindentedDocComment($comment));
    }