public void NounTypeformattedExtractionSuccessCaseTest1()
        {
            Language.Types   expected = English.Types.noun;
            LanguageDirector director = new LanguageDirector();

            LanguageBuilder englishBuilder = new LanguageEnglishBuilder("to look [sb] over {C=}{E=}{T=noun}{S=}");

            director.ConstructformattedImport(englishBuilder);

            Language.Types actual = englishBuilder.GetResult().Type;
            Assert.AreEqual(expected, actual);
        }
        public void ValueFormattedImportSuccessCaseTest4()
        {
            string           expected = "to look [sb] over";
            LanguageDirector director = new LanguageDirector();

            LanguageBuilder englishBuilder = new LanguageEnglishBuilder("to look [sb] over {C=}{E=test}{T=phrasalVerb}{S=}");

            director.ConstructformattedImport(englishBuilder);

            string actual = englishBuilder.GetResult().Value;

            Assert.AreEqual(expected, actual);
        }
        public void ValueFormattedImportSuccessCaseTest2()
        {
            string           expected = "regarder";
            LanguageDirector director = new LanguageDirector();

            LanguageBuilder frenchBuilder = new LanguageFrenchBuilder("regarder {C=}{E=test}{T=undefined}{S= examiner}");

            director.ConstructformattedImport(frenchBuilder);

            string actual = frenchBuilder.GetResult().Value;

            Assert.AreEqual(expected, actual);
        }
        public void SynonysmsFormattedImportSuccessCaseTest4()
        {
            List <string> expected    = new List <string> {
            };
            LanguageDirector director = new LanguageDirector();

            LanguageBuilder englishBuilder = new LanguageEnglishBuilder("to look [sb] over {C=}{E=test}{T=phrasalVerb}{S=}");

            director.ConstructformattedImport(englishBuilder);

            List <string> actual = englishBuilder.GetResult().Synonysms;

            CollectionAssert.AreEqual(expected, actual);
        }
        public void SynonysmsFormattedImportSuccessCaseTest3()
        {
            List <string> expected = new List <string> {
                ""
            };
            LanguageDirector director = new LanguageDirector();

            LanguageBuilder frenchBuilder = new LanguageFrenchBuilder("regarder {C=}{E=}{T=undefined}{S=}");

            director.ConstructformattedImport(frenchBuilder);

            List <string> actual = frenchBuilder.GetResult().Synonysms;

            CollectionAssert.AreEqual(expected, actual);
        }