setIndentHTML(true); $kernel = new Kernel($configuration); $parser = new Parser($kernel); $document = $parser->parse('Test paragraph.'); $rendered = $document->renderDocument(); $expected = <<<'HTML'

Test paragraph.

HTML; self::assertSame($expected, $rendered); } }