public void ExempleUnformattedExtractionSuccessCaseTest2()
        {
            string           expected       = "";
            LanguageDirector director       = new LanguageDirector();
            LanguageBuilder  englishBuilder = new LanguageEnglishBuilder("to carry out");

            director.ConstructUnformattedImport(englishBuilder);

            string actual = englishBuilder.GetResult().Example;

            Assert.AreEqual(expected, actual);
        }
        public void ValueUnformattedExtractionSuccessCaseTest1()
        {
            string           expected       = "to look [sb] over";
            LanguageDirector director       = new LanguageDirector();
            LanguageBuilder  englishBuilder = new LanguageEnglishBuilder("to look [sb] over");

            director.ConstructUnformattedImport(englishBuilder);

            string actual = englishBuilder.GetResult().Value;

            Assert.AreEqual(expected, actual);
        }
        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 VerbTypeUnformattedExtractionSuccessCaseTest1()
        {
            Language.Types   expected = English.Types.verb;
            LanguageDirector director = new LanguageDirector();

            LanguageBuilder englishBuilder = new LanguageEnglishBuilder("to faint");

            director.ConstructUnformattedImport(englishBuilder);
            englishBuilder.ProceedGetType();

            Language.Types actual = englishBuilder.GetResult().Type;
            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 SynonymsUnformattedExtractionSuccessCaseTest2()
        {
            List <string> expected    = new List <string> {
            };
            LanguageDirector director = new LanguageDirector();

            LanguageBuilder englishBuilder = new LanguageEnglishBuilder("to carry out");

            director.ConstructUnformattedImport(englishBuilder);

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

            CollectionAssert.AreEqual(expected, actual);
        }