public void EmptyArguments(string word1, string word2) { IAnagramChecker anagramChecker = new AnagramChecker(); Assert.Throws <ArgumentException>(() => anagramChecker.IsAnagram(word1, word2)); }
public void IsNotAnagram(string word1, string word2) { IAnagramChecker anagramChecker = new AnagramChecker(); Assert.IsFalse(anagramChecker.IsAnagram(word1, word2)); }