public void Replace2_ReplaceWordsWithoutSpaces_True() { string s = "I am walking my cat to the cathedral"; string d = "I am walking my dog to the doghedral"; string result = Replacer.Replace2(s, "cat", "dog"); Assert.AreEqual(d, result); }