Beispiel #1
0
 public void Generates_4_words()
 {
     var sentence = new Lipsum().Words(4);
     Assert.IsNotNull(sentence);
     Assert.IsFalse(sentence.EndsWith(" "));
     Console.WriteLine(sentence);
 }
Beispiel #2
0
 public void Generates_sentence_starting_with_capital_and_ending_with_fullstop()
 {
     var sentence = new Lipsum().Sentences(1);
     Assert.IsNotNull(sentence);
     Assert.IsFalse(sentence.EndsWith(" "));
     Assert.IsTrue(sentence.EndsWith("."));
     Assert.IsFalse(sentence.Substring(0).Equals(sentence.Substring(0).ToLowerInvariant()));
     Console.WriteLine(sentence);
 }