/** * Make sure that multiple new lines are replaced with paragraph tags * * @test * @covers Text::autoP */ public function test_auto_para_replaces_multiple_newlines_with_paragraph() { $this->assertSame("<p>My name is john</p>\n\n<p>I'm a developer</p>", Text::autoP("My name is john\n\n\n\nI'm a developer")); }