public void GivenAnyWhenShortParagraphThenParagraphReturned() { const int maximumLength = 1; var paragraphReturned = AnyVal.Paragraphs(maximumLength); paragraphReturned.Length.Should().Be(maximumLength); Console.WriteLine(paragraphReturned); }
public void GivenAnyWhenLongParagraphThenParagraphReturned() { const int maximumLength = 500; var paragraphReturned = AnyVal.Paragraphs(maximumLength); paragraphReturned.Length.Should().Be(maximumLength); paragraphReturned.Should().Contain(" "); paragraphReturned.Should().Contain(".\r\n"); Console.WriteLine(paragraphReturned); }