Beispiel #1
0
 public void SubstringFollowing_WithSentenceStringAndLastWord_ExpectsLastWord()
 => Equal(
     WORD_LAST,
     SENTENCE.SubstringFollowing(WORD_LAST));
Beispiel #2
0
 public void SubstringFollowing_WithSentenceStringAndEmptyString_ExpectsSentenceString()
 => Equal(
     SENTENCE,
     SENTENCE.SubstringFollowing(EMPTY));
Beispiel #3
0
 public void SubstringFollowing_WithSentenceStringAndFirstWord_ExpectsSentenceString()
 => Equal(
     SENTENCE,
     SENTENCE.SubstringFollowing(WORD_FIRST));
Beispiel #4
0
 public void SubstringFollowing_WithSentenceStringAndUnknownWord_Throws()
 => Throws <ArgumentOutOfRangeException>(() => SENTENCE.SubstringFollowing(WORD));