Ejemplo n.º 1
0
        public void SetWord_SetTheWord_void()
        {
            //arrange
            string        userWord    = "word";
            string        newWord     = "hello";
            List <string> fakeList    = new List <string> {
            };
            AnagramChecker newAnagram = new AnagramChecker(userWord, fakeList);

            //act
            newAnagram.SetWord(newWord);

            //assert
            Assert.AreEqual(newWord, newAnagram.GetWord());
        }