public void AddAnagram_AddsWordsToMatchList_String() { Anagram testAnagram = new Anagram(); string word = "gandalf"; testAnagram.SetWordToCompare(word); testAnagram.AddAnagram(); Assert.AreEqual(word, testAnagram.GetWordMatches()[0]); }