assertEquals('

This will be a paragraph

', parseMarkdown('This will be a paragraph')); } public function testParsingItalics() { $this->assertEquals('

This will be italic

', parseMarkdown('_This will be italic_')); } public function testParsingBoldText() { $this->assertEquals('

This will be bold

', parseMarkdown('__This will be bold__')); } public function testMixedNormalItalicsAndBoldText() { $this->assertEquals('

This will be mixed

', parseMarkdown('This will _be_ __mixed__')); } public function testWithH1Headerlevel() { $this->assertEquals('

This will be an h1

', parseMarkdown('# This will be an h1')); } public function testWithH2Headerlevel() { $this->assertEquals('

This will be an h2

', parseMarkdown('## This will be an h2')); } public function testWithH6Headerlevel() { $this->assertEquals('
This will be an h6
', parseMarkdown('###### This will be an h6')); } public function testUnorderedLists() { $this->assertEquals( '', parseMarkdown("* Item 1\n* Item 2") ); } public function testWithALittleBitOfEverything() { $this->assertEquals( '

Header!

', parseMarkdown("# Header!\n* __Bold Item__\n* _Italic Item_") ); } }