public void Translate_HelloWorld()
        {
            ITranslator translator = new AlphabetToMorseTranslator();

            var expected = ".... . .-.. .-.. --- / .-- --- .-. .-.. -.. ";

            var actual = translator.Translate("HELLO WORLD");

            Assert.AreEqual(expected, actual);
        }
        public void Translate_Mix()
        {
            ITranslator translator = new AlphabetToMorseTranslator();

            var expected = ".- -... -.-. ~ -.. . ..-. ";

            var actual = translator.Translate("ABC~DEF");

            Assert.AreEqual(expected, actual);
        }
        public void Translate_SingleCharacter_NotInDictionary()
        {
            ITranslator translator = new AlphabetToMorseTranslator();

            var expected = "~ ";

            var actual = translator.Translate("~");

            Assert.AreEqual(expected, actual);
        }
        public void Translate_Case()
        {
            ITranslator translator = new AlphabetToMorseTranslator();

            var expected = ".- -... -.-. ";

            var actualLower = translator.Translate("abc");
            var actualUpper = translator.Translate("ABC");

            Assert.AreEqual(expected, actualLower);
            Assert.AreEqual(expected, actualUpper);
        }