Beispiel #1
0
        public void RegisterViewsAndServices()
        {
            TestableProjectModule module = CreateTestableProjectModule();

            module.InvokeRegisterViewsAndServices();

            Assert.AreEqual(typeof(ProjectService), container.Types[typeof(IProjectService)]);
            Assert.AreEqual(typeof(ProjectsListView), container.Types[typeof(IProjectsListView)]);
            Assert.AreEqual(typeof(ProjectsListPresenter), container.Types[typeof(IProjectsListPresenter)]);
        }
Beispiel #2
0
        private TestableProjectModule CreateTestableProjectModule()
        {
            TestableProjectModule module = new TestableProjectModule(container);

            return(module);
        }
 private TestableProjectModule CreateTestableProjectModule()
 {
     TestableProjectModule module = new TestableProjectModule(container);
     return module;
 }