public void ThrowExceptionWhenNullInput() { CommonChars commonChars = new CommonChars(); Assert.Throws <ArgumentNullException>(() => commonChars.FindCommonChars(null, null), "Input strings can not be null"); }
public string Test(string a, string b) { CommonChars commonChars = new CommonChars(); return(commonChars.FindCommonChars(a, b)); }