public void because_of() { this.mutexService = new BlacklistMutexService(); Container container = TestDependencyConfiguration.Configure(); container.Register<IMutexService>(mutexService); var bootstrap = container.Resolve<Bootstrap>(); bootstrap.Continue(); }
public void because_of() { this.mutexService = new BlacklistMutexService(); this.settingsApplier = new MockSettingsApplier(); Container container = TestDependencyConfiguration.Configure(); container.Register<IMutexService>(mutexService); container.Register<ISettingsApplier>(settingsApplier); var bootstrap = container.Resolve<Bootstrap>(); bootstrap.Startup(); }
public void because_of() { this.mutexService = new BlacklistMutexService(); this.loggingService = new StubLoggingService(); this.loggingService.Enable(); Container container = TestDependencyConfiguration.Configure(); container.Register<IMutexService>(mutexService); container.Register<ILogManager>(loggingService); var bootstrap = container.Resolve<Bootstrap>(); bootstrap.Startup(); bootstrap.Shutdown(); }