public void ShouldCallRunOnModuleManager() { var bootstrapper = new MockedBootstrapper(); var moduleManager = new MockModuleManager(); bootstrapper.MockUnityContainer.ResolveBag.Add(typeof(IModuleManager), moduleManager); bootstrapper.Run(); Assert.IsTrue(moduleManager.RunCalled); }
public void ShouldCallRunOnModuleManager() { var bootstrapper = new MockedBootstrapper(); var moduleManager = new MockModuleManager(); bootstrapper.MockUnityContainer.ResolveBag.Add(typeof(IModuleManager), moduleManager); bootstrapper.Run(); Assert.IsTrue(moduleManager.RunCalled); }