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)]); }
private TestableProjectModule CreateTestableProjectModule() { TestableProjectModule module = new TestableProjectModule(container); return(module); }
private TestableProjectModule CreateTestableProjectModule() { TestableProjectModule module = new TestableProjectModule(container); return module; }