public void ReverseWordMethod_String_ReturnsStringWithWordsInReverseOrder(string input, string expected) { var actual = WordReverser.ReverseWords(input); Assert.AreEqual(actual, expected); }
public void ReverseASingleWord() { var reversed = _wordReverser.ReverseWords("foo"); Assert.Equal("oof", reversed); }