public void TryGetWordListLanguage_Case5_RetursFalse()
        {
            //Arrange
            string filePath = @"c:\somefolder\w..txt";

            //Act
            string language = null;
            var    actual   = WordListFileSourceFactory.TryGetWordListLanguage(filePath, out language);

            //Assert
            Assert.AreEqual(false, actual);
            Assert.AreEqual(null, language);
        }
        public void TryGetWordListLanguage_case1_RetursTrue()
        {
            //Arrange
            string filePath = @"c:\some_fol.der\words_en.txt";

            //Act
            string language = null;
            var    actual   = WordListFileSourceFactory.TryGetWordListLanguage(filePath, out language);

            //Assert
            Assert.AreEqual(true, actual);
            Assert.AreEqual("en", language);
        }
        public void TryGetWordListLanguage_EmptyPath_RetursFalse()
        {
            //Arrange
            string filePath = string.Empty;

            //Act
            string language = null;
            var    actual   = WordListFileSourceFactory.TryGetWordListLanguage(filePath, out language);

            //Assert
            Assert.AreEqual(false, actual);
            Assert.AreEqual(null, language);
        }