public void ItShouldReplaceMultipleWubsInTheMiddleOfTheLyricWithASingleSpace() { var dubstepDj = new DubStepDJ("WUB", " "); Assert.AreEqual("Hello World", dubstepDj.SongDecoder("HelloWUBWUBWUBWorld")); }
public void ItShouldRemoveWubAtTheEndtOfTheLyric() { var dubstepDj = new DubStepDJ("WUB", " "); Assert.AreEqual("Lyric", dubstepDj.SongDecoder("LyricWUB")); }
public void ItShouldReturnR_L() { var dubstepDj = new DubStepDJ("WUB", " "); Assert.AreEqual("R L", dubstepDj.SongDecoder("RWUBWUBWUBLWUB")); }
public void ItShouldRemoveWubAtTheStartOfTheLyric() { var dubstepDj = new DubStepDJ("WUB", " "); Assert.AreEqual("YourSpace", dubstepDj.SongDecoder("WUBYourSpace")); }
public void ItShouldReturnABC() { var dubstepDj = new DubStepDJ("WUB", " "); Assert.AreEqual("ABC", dubstepDj.SongDecoder("WUBWUBABCWUB")); }