public void GetInvertedWord_WhenInputIsNull_ShouldReturnNull() { WordInverter classToTest = new WordInverter(); string input = null; classToTest.GetInvertedWord(input); }
public void GetInvertedWord_WhenInputIsMacdara_ShouldReturnAradcam() { WordInverter classToTest = new WordInverter(); var input = "Macdara"; var expectedResult = "aradcaM"; var actualResult = classToTest.GetInvertedWord(input); Assert.AreEqual(expectedResult, actualResult); }