public void TestThatUnmappedLanguageCodeReturnsPassedInLanguageCode()
        {
            string sLanguageCode = "de-DE";

            TtsLanguageCodeMapping ttsLanguageCodeMapping = new TtsLanguageCodeMapping(new TestTtsLanguageMappingDAL());

            Assert.That(ttsLanguageCodeMapping.GetMappedLanguageCodeFor(sLanguageCode), Is.EqualTo(sLanguageCode));
        }
        public void TestThatEmptyMappingReturnPassedInLanguageCode()
        {
            string sLanguageCode = "en-US";

            TtsLanguageCodeMapping ttsLanguageCodeMapping = new TtsLanguageCodeMapping(null);

            Assert.That(ttsLanguageCodeMapping.GetMappedLanguageCodeFor(sLanguageCode), Is.EqualTo(sLanguageCode));
        }
        public void TestThatLanguageCodeIsRemapped()
        {
            string sOriginalLanguageCode = "en-AU";
            string sExpectedLanguageCode = "en-GB";

            TtsLanguageCodeMapping ttsLanguageCodeMapping = new TtsLanguageCodeMapping(new TestTtsLanguageMappingDAL());

            Assert.That(ttsLanguageCodeMapping.GetMappedLanguageCodeFor(sOriginalLanguageCode), Is.EqualTo(sExpectedLanguageCode));
        }