public function testItalics()
 {
     $expectedText = "The <em>quick</em> brown fox jumps over the lazy dog.";
     // One line with italics.
     $sampleText = "The _quick_ brown fox jumps over the lazy dog.";
     $this->assertEquals("<p>{$expectedText}</p>", $this->parser->text($sampleText));
     $this->assertManyLines($sampleText, $expectedText);
     $sampleText = "The *quick* brown fox jumps over the lazy dog.";
     $this->assertEquals("<p>{$expectedText}</p>", $this->parser->text($sampleText));
     $this->assertManyLines($sampleText, $expectedText);
 }
 public function testLennyFile()
 {
     $input = file_get_contents(__DIR__ . "/Cases/LennyInput.txt");
     $output = file_get_contents(__DIR__ . "/Cases/LennyOutput.txt");
     $this->assertEquals(trim($output), $this->parser->parse($input));
 }