상속: Gymnastika.Controllers.StartupController
예제 #1
0
        public void RegisterDependencies()
        {
            IUnityContainer container = new UnityContainer();

            MockStartupController controller = new MockStartupController(container);
            controller.CallRegisterDependencies();

            Assert.That(container.IsRegistered<IStartupView>(), Is.True);
            Assert.That(container.IsRegistered<IMainView>(), Is.True);
        }
예제 #2
0
        public void RegisterDependencies()
        {
            IUnityContainer container = new UnityContainer();

            MockStartupController controller = new MockStartupController(container);

            controller.CallRegisterDependencies();

            Assert.That(container.IsRegistered <IStartupView>(), Is.True);
            Assert.That(container.IsRegistered <IMainView>(), Is.True);
        }