public void AsciiStringTranslator_ValidatesAplhabets(string initialAlphabet, string finalAlphabet, bool caseInvariant)
 {
     AsciiStringTranslator translator = new AsciiStringTranslator(initialAlphabet, finalAlphabet, caseInvariant);
     Assert.AreEqual(initialAlphabet, translator.InitialAlphabet);
     Assert.AreEqual(finalAlphabet, translator.FinalAlphabet);
     Assert.AreEqual(caseInvariant, translator.IsCaseInvariant);
 }
 public void Translate_ValidatesInput(string initialAlphabet, string finalAlphabet, bool caseInvariant, string input)
 {
     AsciiStringTranslator translator = new AsciiStringTranslator(initialAlphabet, finalAlphabet, caseInvariant);
     translator.Translate(input);
 }
 public void Translate_TranslatesCorrectly(string initialAlphabet, string finalAlphabet, bool caseInvariant, string input, string expectedOutput)
 {
     AsciiStringTranslator translator = new AsciiStringTranslator(initialAlphabet, finalAlphabet, caseInvariant);
     Assert.AreEqual(expectedOutput, translator.Translate(input), "The translated text is wrong.");
 }