Example #1
0
 public void FindTest_Null_ArgumentNullException()
 {
     Assert.Throws <ArgumentNullException>(() => IdentifierOfUniqueWords.Find(null, separators));
     Assert.Throws <ArgumentNullException>(() => IdentifierOfUniqueWords.Find(null, null));
     Assert.Throws <ArgumentNullException>(() => IdentifierOfUniqueWords.Find("bla", null));
 }
Example #2
0
 public string[] FindTest(string @string)
 {
     return(IdentifierOfUniqueWords.Find(@string, separators).ToArray());
 }