public function testParagraphsAsText() { $paragraphs = TestableLorem::paragraphs(2, true); $expected = "This is a test paragraph. It has three sentences. Exactly three.\n\nThis is a test paragraph. It has three sentences. Exactly three."; $this->assertEquals($expected, $paragraphs); }
public function testTextReturnsParagraphsWhenAskedSizeGreaterOrEqualThanThan100() { $this->assertEquals('This is a test paragraph. It has three sentences. Exactly three.', TestableLorem::text(100)); }