public void AvailableLanguages()
        {
            var context = new Mock <IContextAware>();

            SelectScriptLanguageModel.StoreKnownLanguages(context.Object);
            var model = new SelectScriptLanguageModel(context.Object);

            Assert.IsNotNull(model.AvailableLanguages);
            Assert.Less(0, model.AvailableLanguages.Count);
        }
        public void AvailableLanguages()
        {
            var context = new Mock<IContextAware>();

            SelectScriptLanguageModel.StoreKnownLanguages(context.Object);
            var model = new SelectScriptLanguageModel(context.Object);

            Assert.IsNotNull(model.AvailableLanguages);
            Assert.Less(0, model.AvailableLanguages.Count);
        }
        public void SelectedLanguage()
        {
            var context = new Mock <IContextAware>();

            SelectScriptLanguageModel.StoreKnownLanguages(context.Object);
            var model = new SelectScriptLanguageModel(context.Object);

            model.SelectedLanguage = model.AvailableLanguages.First();
            Assert.IsNotNull(model.SelectedLanguage);
            Assert.AreEqual(model.AvailableLanguages.First(), model.SelectedLanguage);
        }
        public void SelectedLanguage()
        {
            var context = new Mock<IContextAware>();

            SelectScriptLanguageModel.StoreKnownLanguages(context.Object);
            var model = new SelectScriptLanguageModel(context.Object);

            model.SelectedLanguage = model.AvailableLanguages.First();
            Assert.IsNotNull(model.SelectedLanguage);
            Assert.AreEqual(model.AvailableLanguages.First(), model.SelectedLanguage);
        }