assertEquals('Be brave, be **bold**, live *italic*', $content->markup);
$this->assertEquals('
Be brave, be bold, live italic
', $content->parsedMarkup);
}
public function testTextContent()
{
$theme = Theme::load('test');
$content = Content::load($theme, 'text-content.txt');
$this->assertEquals('Pen is than the sword, HTML is than the text', $content->markup);
$this->assertEquals('Pen is <mightier> than the sword, HTML is <richer> than the text', $content->parsedMarkup);
}
public function testHtmlContent()
{
$theme = Theme::load('test');
$content = Content::load($theme, 'html-content.htm');
$this->assertEquals('Stephen Saucier changed his profile picture — 7 hrs ago', $content->markup);
$this->assertEquals('Stephen Saucier changed his profile picture — 7 hrs ago', $content->parsedMarkup);
}
}