public void ReplaceEachSome() { var actual = "wxxxw".ReplaceEach("yzx", 'n'); Assert.AreEqual("wnnnw", actual); }