PhroznTest\Processor\MarkdownTest::testRender PHP Method

testRender() public method

public testRender ( )
    public function testRender()
    {
        $processor = new Processor();
        $tpl = file_get_contents($this->path . 'tpl1.markdown');
        $rendered = $processor->render($tpl);
        $static = file_get_contents($this->path . 'tpl1.markdown.html');
        $this->assertSame(trim($static), trim($rendered));
    }