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)); }
public string[] FindTest(string @string) { return(IdentifierOfUniqueWords.Find(@string, separators).ToArray()); }