public void ShowModulespaceNameOnViewReady()
        {
            dictionary.SetValue("ModuleNamespace", "Some.Namespace");

            presenter.OnViewReady();

            Assert.AreEqual(model.ModuleNamespace, view.ModuleNamespace);
            Assert.AreEqual("Some.Namespace", view.ModuleNamespace);
        }
Example #2
0
        public void ShowModuleNameOnViewReady()
        {
            model.SelectedSolutionFolder = new MockProjectModel();
            dictionary.SetValue("ModuleName", "Module1");

            presenter.OnViewReady();

            Assert.AreEqual(view.ModuleName, model.ModuleName);
            Assert.AreEqual(view.ModuleName, "Module1");
        }