protected override void OnStart() { _loggingSubsystem.Start(); _servicesSubsystem.Start(); _validatorSubsystem.Start(); _executorsSubsystem.Start(); }
public void Given_LoggingSubsystem_When_Initializing_Then_Dependencies_Are_Registered() { using (var startup = new Startup()) { startup.Start(); var container = Startup.Container; var executorsSubsystem = new LoggingSubsystem(container); executorsSubsystem.Start(); var logger = container.Resolve <ILog>(); Assert.IsNotNull(logger); } }