Esempio n. 1
0
        public void ShouldCallRunOnModuleManager()
        {
            var bootstrapper = new MockedBootstrapper();

            var moduleManager = new MockModuleManager();

            bootstrapper.MockUnityContainer.ResolveBag.Add(typeof(IModuleManager), moduleManager);

            bootstrapper.Run();

            Assert.IsTrue(moduleManager.RunCalled);
        }
Esempio n. 2
0
        public void ShouldCallRunOnModuleManager()
        {
            var bootstrapper = new MockedBootstrapper();

            var moduleManager = new MockModuleManager();
            bootstrapper.MockUnityContainer.ResolveBag.Add(typeof(IModuleManager), moduleManager);

            bootstrapper.Run();

            Assert.IsTrue(moduleManager.RunCalled);
        }